Update evil-collection-vc-git.el
Add a few commands for the git log view
This commit is contained in:
parent
26c47b1cb7
commit
48810f908f
|
@ -35,7 +35,14 @@
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun evil-collection-vc-git-setup ()
|
(defun evil-collection-vc-git-setup ()
|
||||||
"Set up `evil' bindings for `vc-git'."
|
"Set up `evil' bindings for `vc-git'."
|
||||||
(evil-set-initial-state 'vc-git-log-view-mode 'normal))
|
(evil-set-initial-state 'vc-git-log-view-mode 'normal)
|
||||||
|
(evil-collection-define-key 'normal 'vc-git-log-view-mode-map
|
||||||
|
"q" 'quit-window
|
||||||
|
"d" 'log-view-diff
|
||||||
|
"D" 'log-view-diff-changeset
|
||||||
|
(kbd "C-j") 'log-view-msg-next
|
||||||
|
(kbd "C-k") 'log-view-msg-prev
|
||||||
|
(kbd "<tab>") 'log-view-toggle-entry-display))
|
||||||
|
|
||||||
(provide 'evil-collection-vc-git)
|
(provide 'evil-collection-vc-git)
|
||||||
;;; evil-collection-vc-git.el ends here
|
;;; evil-collection-vc-git.el ends here
|
||||||
|
|
Loading…
Reference in New Issue