diff options
author | rekado <rekado@elephly.net> | 2014-11-19 12:44:26 +0100 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2014-11-19 12:44:26 +0100 |
commit | a5d229eb72d43e2668efc8cabd9e8aca9dc794bf (patch) | |
tree | 725fbbd08fe5cd6e2767c5fa78f0c81005b2d1e6 | |
parent | f129d4ea1a9315c2c48e8d01a84c1d4634bd3d37 (diff) |
add shortcut to open init.el
-rw-r--r-- | init.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |