mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Extend backend-agnostic vc functionality
this commit adds a default keybinding for the vc-gutter hydra (leader-g .) if both vc-gutter and hydra are enabled. It ensures that the various vc-*-log-view-modes open up in emacs state, and it adds hg, svn and bzr to the list of vc backends handled by git-gutter
This commit is contained in:
@ -23,5 +23,12 @@
|
||||
("m" git-gutter:mark-hunk)
|
||||
("p" git-gutter:popup-hunk)
|
||||
("R" git-gutter:set-start-revision)
|
||||
("q" nil :color blue)
|
||||
("Q" (git-gutter-mode -1) :color blue))
|
||||
("q"
|
||||
(when (get-buffer git-gutter:popup-buffer)
|
||||
(kill-buffer (get-buffer git-gutter:popup-buffer)))
|
||||
:color blue)
|
||||
("Q"
|
||||
(progn (git-gutter-mode -1)
|
||||
(when (get-buffer git-gutter:popup-buffer)
|
||||
(kill-buffer (get-buffer git-gutter:popup-buffer))))
|
||||
:color blue))
|
||||
|
Reference in New Issue
Block a user