[source-control] Evilify the svn/git/hg mode-maps after its mode file be loaded

This commit is contained in:
Lin Sun 2022-06-08 00:00:21 +00:00 committed by Maxi Wolff
parent d1bdf6c634
commit fa28a4f302
3 changed files with 11 additions and 5 deletions

View File

@ -3835,6 +3835,9 @@ files (thanks to Daniel Nicolai)
- Fixed error on =diff-hl-margin-mode= function being nil during startup
(thanks to Voleking)
- Fixed =git-gutter+= refresh when a buffer is staged or unstaged in Magit
- Evilify the svn/git/hg mode-maps after their mode files be loaded
(thanks to Lin Sun)
**** Vue
- Added a toggle state minified/full to the transient state (thanks to duianto)
**** Xclipboard

View File

@ -212,7 +212,7 @@ If the value is nil then no banner is displayed."
(spacemacs|defc dotspacemacs-startup-banner-scale 'auto
"Specify the scale value for the startup banner. Default value is `auto',
it displays the spacemacs logo with the scale value. An (0, 1] float value
it displays the spacemacs logo with the scale value. A (0, 1] float value
will be applied to scale the banner."
'(choice (const auto) (const nil) float)
'spacemacs-dotspacemacs-init)

View File

@ -90,11 +90,14 @@
"H" 'log-view-toggle-entry-display
"o" 'ace-link-woman)
(evilified-state-evilify-map vc-svn-log-view-mode-map
:mode vc-svn-log-view-mode)
:mode vc-svn-log-view-mode
:eval-after-load vc-svn)
(evilified-state-evilify-map vc-git-log-view-mode-map
:mode vc-git-log-view-mode)
(evilified-state-evilify-map vc-git-log-view-mode-map
:mode vc-hg-log-view-mode))
:mode vc-git-log-view-mode
:eval-after-load vc-git)
(evilified-state-evilify-map vc-hg-log-view-mode-map
:mode vc-hg-log-view-mode
:eval-after-load vc-hg))
(with-eval-after-load 'vc-annotate
(evilified-state-evilify-map vc-annotate-mode-map
:mode vc-annotate-mode