Don't let magit-gitflow mode overwrite C-f key binding. (#13973)

* Don't let magit-gitflow mode overwrite `C-f` key binding.

* Describe changes in CHANGELOG.develop
This commit is contained in:
Ray 2020-09-24 04:31:44 +08:00 committed by GitHub
parent 25d6364bdb
commit 359b6f5466
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -1978,6 +1978,7 @@ Other:
- ~SPC g l P~ adds region permalink URL to clipboard
- Moved =magit-find-file= to view a file at a specific branch or commit
from ~SPC g f f~ to ~SPC g f F~ (thanks to duianto and Hong Xu)
- Unbind ~C-f~ from =magit-gitflow-popup= (thanks to rayw000)
- Fixes:
- Install magit-svn by default and activate with git-enable-magit-svn-plugin
- Added feature to toggle =evil-magit= based on editing style

View file

@ -254,7 +254,9 @@
(defun git/init-magit-gitflow ()
(use-package magit-gitflow
:defer t
:init (add-hook 'magit-mode-hook 'turn-on-magit-gitflow)
:init (progn
(add-hook 'magit-mode-hook 'turn-on-magit-gitflow)
(setq magit-gitflow-popup-key "%"))
:config
(progn
(spacemacs|diminish magit-gitflow-mode "Flow")