general-def -> nil as not needed in :general keyword for use-package
This commit is contained in:
@@ -511,17 +511,15 @@ Setup the evil package, with some opinionated settings:
|
||||
"M-," #'evil-jump-backward
|
||||
"M-." #'evil-jump-forward)
|
||||
|
||||
(general-def
|
||||
(:states '(normal motion visual)
|
||||
:keymaps 'override
|
||||
:states '(normal motion visual)
|
||||
"gu" #'evil-upcase
|
||||
"gU" #'evil-downcase
|
||||
"M-y" #'yank-pop
|
||||
"T" 'nil)
|
||||
|
||||
(general-def
|
||||
(:states '(normal motion visual)
|
||||
:keymaps 'override
|
||||
:states '(normal motion visual)
|
||||
:infix "T"
|
||||
"w" #'transpose-words
|
||||
"c" #'transpose-chars
|
||||
@@ -591,8 +589,7 @@ in it.
|
||||
(nmap
|
||||
:keymaps 'minibuffer-local-map
|
||||
"<escape>" #'abort-minibuffers)
|
||||
(general-def
|
||||
:states '(normal insert)
|
||||
(:states '(normal insert)
|
||||
:keymaps 'minibuffer-local-map
|
||||
"<backtab>" #'switch-to-completions
|
||||
"RET" #'exit-minibuffer
|
||||
@@ -649,8 +646,7 @@ outperforming ~icomplete~ consistently when displaying results.
|
||||
:config
|
||||
(vertico-mode)
|
||||
:general
|
||||
(general-def
|
||||
:state '(normal insert)
|
||||
(:state '(normal insert)
|
||||
:keymaps 'vertico-map
|
||||
"M-j" #'vertico-next
|
||||
"M-k" #'vertico-previous
|
||||
|
||||
Reference in New Issue
Block a user