From f59f31505c64291c7f247fcfded0ba8ff3c513b5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 28 May 2013 21:21:04 +0100 Subject: Emacs: add register bindings for emacs init file and organiser.org --- emacs/init.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 4941e36b..13833c27 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 -- cgit 1.4.1