diff options
author | Alan Pearce | 2013-05-28 21:21:04 +0100 |
---|---|---|
committer | Alan Pearce | 2013-05-28 21:21:04 +0100 |
commit | f59f31505c64291c7f247fcfded0ba8ff3c513b5 (patch) | |
tree | ed60f15e80e4eb7df0ce32d81e9bcdbe8e6e9e05 | |
parent | ea157ffc4382057bd3f2e924e80866ebd2fd33d7 (diff) | |
download | dotfiles-f59f31505c64291c7f247fcfded0ba8ff3c513b5.tar.lz dotfiles-f59f31505c64291c7f247fcfded0ba8ff3c513b5.tar.zst dotfiles-f59f31505c64291c7f247fcfded0ba8ff3c513b5.zip |
Emacs: add register bindings for emacs init file and organiser.org
-rw-r--r-- | emacs/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 4941e36..13833c2 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -465,6 +465,8 @@ Values: `desktop', `server', `laptop'") (bind-key "C-c i" #'ucs-insert) +(set-register ?e `(file . ,user-init-file)) + ;; Enable narrowing functions C-x n (put 'narrow-to-defun 'disabled nil) (put 'narrow-to-page 'disabled nil) @@ -596,6 +598,7 @@ Values: `desktop', `server', `laptop'") org-todo-keywords '((sequence "TODO" "STARTED" "|" "DONE") (sequence "TOLEARN" "LEARNING" "LEARNED" "|" "MASTERED") (sequence "|" "CANCELLED"))) + (set-register ?o `(file . ,(expand-file-name "organiser.org" org-directory))) (defadvice org-clock-in (after wicked activate) "Mark STARTED when clocked in" (save-excursion |