Add readonly-bindings to vc-dir-mode

This commit is contained in:
Jelle Licht 2021-05-14 15:42:17 +02:00
parent 23c60d576c
commit 7587cd8385
No known key found for this signature in database
GPG Key ID: DA4597F947B41025
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@
(defun evil-collection-vc-dir-setup ()
"Set up `evil' bindings for `vc-dir'."
(evil-set-initial-state 'vc-dir-mode 'normal)
(evil-collection-set-readonly-bindings 'vc-dir-mode-map)
(evil-collection-define-key 'normal 'vc-dir-mode-map
;; VC commands
"c" 'vc-next-action