tools/magit: fix hijacked leader key in magit-diff-mode
This commit is contained in:
parent
1718770b0e
commit
c37e3a1b80
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@ available.")
|
|||
;; properly kill leftover magit buffers on quit
|
||||
(define-key magit-status-mode-map [remap magit-mode-bury-buffer] #'+magit/quit)
|
||||
|
||||
;; Don't replace the leader key
|
||||
;; FIXME remove me when general.el is integrated
|
||||
(define-key magit-diff-mode-map (kbd doom-leader-key) nil)
|
||||
|
||||
(defun +magit|update-vc ()
|
||||
"Update vc in all verson-controlled buffers when magit refreshes."
|
||||
(dolist (buf (buffer-list))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue