Add some new magit stuff
This commit is contained in:
parent
101342c5e3
commit
100fe208e2
7
init.el
7
init.el
@ -2276,6 +2276,13 @@ functions (only eshell uses it at the time of writing)."
|
||||
;; magit
|
||||
(use-package magit
|
||||
:init
|
||||
(defvar-keymap my/magit-personal-prefix-map
|
||||
:doc "Keymap for some useful Magit commands."
|
||||
"s" #'magit-stage
|
||||
"d" #'magit-diff-dwim
|
||||
"D" #'magit-diff
|
||||
"b" #'magit-blame)
|
||||
(keymap-global-set "C-c i" my/magit-personal-prefix-map)
|
||||
(evil-define-key '(normal visual motion) magit-mode-map
|
||||
"s" #'magit-stage-file
|
||||
"S" #'magit-stage-modified))
|
||||
|
Loading…
Reference in New Issue
Block a user