fix(emacs): Fix consequtive prefix args
This commit is contained in:
@@ -133,6 +133,15 @@
|
||||
(general-def
|
||||
:prefix-map 'syd-leader-code-map)
|
||||
|
||||
;; This is necessary to properly rebind `universal-argument'.
|
||||
;; `universal-argument-more' is a command that provides additional prefixes
|
||||
;; after the first. Without it, the first 'C-u' will be interpreted as a
|
||||
;; prefix argument for the second 'C-u'.
|
||||
(general-def
|
||||
:keymaps 'universal-argument-map
|
||||
"SPC u" #'universal-argument-more
|
||||
"u" #'universal-argument-more)
|
||||
|
||||
;; Leader
|
||||
(general-def
|
||||
:keymaps 'syd-leader-map
|
||||
|
||||
Reference in New Issue
Block a user