Prevent forge from binding default keys
evil-collection handles this, and the default bindings produce an error message on startup.
This commit is contained in:
parent
1b9d5c5d93
commit
cc3877c40c
|
@ -44,9 +44,15 @@
|
|||
:group 'magit
|
||||
:type 'symbol)
|
||||
|
||||
(defvar forge-add-default-bindings)
|
||||
|
||||
;;;###autoload
|
||||
(defun evil-collection-forge-setup ()
|
||||
"Set up `evil' bindings for `magit'."
|
||||
(when forge-add-default-bindings
|
||||
(message "Setting `forge-add-default-bindings' to nil in `evil-collection-forge-setup'.
|
||||
To suppress this message you can set this variable to nil in your init.el file.")
|
||||
(setq forge-add-default-bindings nil))
|
||||
(let ((states (if evil-collection-forge-use-y-for-yank
|
||||
`(,evil-collection-forge-state visual)
|
||||
`(,evil-collection-forge-state))))
|
||||
|
|
Loading…
Reference in New Issue