diff options
Diffstat (limited to 'shoshimacs.el')
-rw-r--r-- | shoshimacs.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/shoshimacs.el b/shoshimacs.el index 8462e03..bb72c6e 100644 --- a/shoshimacs.el +++ b/shoshimacs.el @@ -66,11 +66,11 @@ (define-prefix-command (quote ,keymap)) (global-set-key (kbd ,leader) ,keymap) (mapc (lambda (pair) - (define-key ,keymap - (kbd (if (numberp (car pair)) (number-to-string (car pair)) - (symbol-name (car pair)))) - (cadr pair))) - (quote ,(seq-partition pairs 2))))) + (define-key ,keymap + (kbd (if (numberp (car pair)) (number-to-string (car pair)) + (symbol-name (car pair)))) + (cadr pair))) + (quote ,(seq-partition pairs 2))))) (with-map-defkey my-key-map "M-m" 1 delete-other-windows @@ -86,6 +86,7 @@ j describe-function k describe-variable n tab-next + p project-prefix-map s consult-git-grep t consult-theme w which-key-mode @@ -194,7 +195,7 @@ (define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)) ;;; Projects -(define-key my-key-map "p" project-prefix-map) +(setf (symbol-function 'project-prefix-map) project-prefix-map) (package-install 'magit) |