fix(emacs): Fix consequtive prefix args

This commit is contained in:
Madeleine Sydney
2025-03-10 15:16:47 -06:00
parent b3b61ebc90
commit 46b0844bd9

View File

@@ -133,6 +133,15 @@
(general-def (general-def
:prefix-map 'syd-leader-code-map) :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 ;; Leader
(general-def (general-def
:keymaps 'syd-leader-map :keymaps 'syd-leader-map