diff options
-rw-r--r-- | shoshimacs.el | 2 | ||||
-rw-r--r-- | shoshimacs.org | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/shoshimacs.el b/shoshimacs.el index 4a339d8..8462e03 100644 --- a/shoshimacs.el +++ b/shoshimacs.el @@ -194,6 +194,8 @@ (define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)) ;;; Projects +(define-key my-key-map "p" project-prefix-map) + (package-install 'magit) ;; Applications diff --git a/shoshimacs.org b/shoshimacs.org index 207f938..b627513 100644 --- a/shoshimacs.org +++ b/shoshimacs.org @@ -738,6 +738,13 @@ elpa. however, at the moment i must install from source: use the built in ~project.el~ api for their features. I've got the ~project-prefix-map~ on the key =p= in [[*with-map-defkey][my-key-map]]. +Interestingly, you have to assign the /actual/ prefix map, not the +symbol to the keybinding. My key macro doesn't evaluate it so it doesn't +quite work. + +#+begin_src emacs-lisp + (define-key my-key-map "p" project-prefix-map) +#+end_src ** version control *** magit |