Set up evil-magit
This commit is contained in:
parent
9d3f9e21b9
commit
0f884f647f
@ -145,13 +145,7 @@ Make undo not undo paragraphs at a time:
|
||||
Magit is objectively the best Git interface.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package magit
|
||||
:commands (magit-status magit-blame magit-find-file)
|
||||
:config
|
||||
(add-to-list 'evil-emacs-state-modes 'magit-mode)
|
||||
(add-to-list 'evil-emacs-state-modes 'magit-status-mode)
|
||||
:general
|
||||
(magit-mode-map "SPC" leader-map)
|
||||
(magit-diff-mode-map "SPC" leader-map))
|
||||
:commands (magit-status magit-blame magit-find-file))
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
@ -179,6 +173,13 @@ Use ido-mode for completion within Magit:
|
||||
(forge-topic-list-mode-map "SPC" leader-map))
|
||||
#+END_SRC
|
||||
|
||||
** evil-magit
|
||||
Evil keybindings for magit!
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package evil-magit
|
||||
:after (evil magit forge))
|
||||
#+END_SRC
|
||||
|
||||
* with-editor
|
||||
A utility from the author of Magit to run shell commands using the current Emacs instance as $EDITOR.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user