summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el
index bc8a400..1a46d5b 100644
--- a/init.el
+++ b/init.el
@@ -263,3 +263,8 @@
(global-hl-line-mode 1) ; turn on highlighting current line
(set-face-background 'hl-line "#222")
(set-face-attribute hl-line-face nil :underline nil)
+(defun my/find-user-init-file ()
+ "Edit the `user-init-file', in another window."
+ (interactive)
+ (find-file-other-window user-init-file))
+(global-set-key (kbd "C-c I") 'my/find-user-init-file)