Emacs: add register bindings for emacs init file and organiser.org
Alan Pearce alan@alanpearce.co.uk
Tue, 28 May 2013 21:21:04 +0100
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -465,6 +465,8 @@ (unbind-key "C-x C-c") (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 @@ org-replace-disputed-keys t 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