Don't use evil mode for Magit
This commit is contained in:
parent
708f19b228
commit
a59d7a3942
@ -1226,14 +1226,6 @@ Magit is objectively the best Git interface.
|
|||||||
(magit-mode-map "SPC" leader-map))
|
(magit-mode-map "SPC" leader-map))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Enable evil keybindings:
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package evil-magit
|
|
||||||
:hook ((magit-status-mode . evil-magit-init))
|
|
||||||
:config
|
|
||||||
(require 'evil-magit))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(jdormit/define-prefix "g" "git")
|
(jdormit/define-prefix "g" "git")
|
||||||
(leader-def-key "gs" #'magit-status)
|
(leader-def-key "gs" #'magit-status)
|
||||||
@ -1251,7 +1243,6 @@ Use ido-mode for completion within Magit:
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package forge :quelpa
|
(use-package forge :quelpa
|
||||||
:config
|
:config
|
||||||
(general-def 'normal magit-mode-map "'" #'forge-dispatch)
|
|
||||||
(add-to-list 'forge-alist '("git.jeremydormitzer.com" "git.jeremydormitzer.com/api/v1"
|
(add-to-list 'forge-alist '("git.jeremydormitzer.com" "git.jeremydormitzer.com/api/v1"
|
||||||
"git.jeremydormitzer.com" forge-gitea-repository)))
|
"git.jeremydormitzer.com" forge-gitea-repository)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user