diff --git a/users/crumb/programs/emacs/modules/syd-keybinds.el b/users/crumb/programs/emacs/modules/syd-keybinds.el index 0e26cff..8a88888 100755 --- a/users/crumb/programs/emacs/modules/syd-keybinds.el +++ b/users/crumb/programs/emacs/modules/syd-keybinds.el @@ -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