Add key bindings
1. Spacemacs like major mode comma 2. Magit commit mode key bindings
This commit is contained in:
parent
a2306fccd6
commit
27bb7a995e
|
@ -2,10 +2,20 @@
|
|||
|
||||
;; Place your private configuration here! Remember, you do not need to run 'doom
|
||||
;; sync' after modifying this file!
|
||||
|
||||
|
||||
;; Key bindings
|
||||
(setq doom-localleader-key ",") ; Spacemacs like comma major mode
|
||||
(map! :leader
|
||||
:desc "Kill buffer and window"
|
||||
"b 0" #'kill-buffer-and-window)
|
||||
|
||||
(map! :localleader
|
||||
(:map git-commit-mode-map
|
||||
"c" #'with-editor-finish)
|
||||
(:map git-commit-mode-map
|
||||
"q" #'with-editor-cancel))
|
||||
|
||||
|
||||
;; Some functionality uses this to identify you, e.g. GPG configuration, email
|
||||
;; clients, file templates and snippets. It is optional.
|
||||
|
|
Loading…
Reference in New Issue