all repos — nixfiles @ f59f31505c64291c7f247fcfded0ba8ff3c513b5

System and user configuration, managed by nix and home-manager

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
commit

f59f31505c64291c7f247fcfded0ba8ff3c513b5

parent

ea157ffc4382057bd3f2e924e80866ebd2fd33d7

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/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