From 378a49dec0cbef8b68c4362b5a9c38ccef6a48f9 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 7 Oct 2023 12:25:14 +0200 Subject: [PATCH] pinwheel: Fix leader-key in `emacs` --- hosts/pinwheel/modules/emacs/config.org | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hosts/pinwheel/modules/emacs/config.org b/hosts/pinwheel/modules/emacs/config.org index 8e40927..190dc01 100644 --- a/hosts/pinwheel/modules/emacs/config.org +++ b/hosts/pinwheel/modules/emacs/config.org @@ -335,21 +335,19 @@ Setup prefix for keybindings. (general-create-definer alex/keybindings :keymaps '(normal insert visual emacs) - :prefix ",") + :prefix "," + :global-prefix "C-SPC") #+END_SRC - ** Quick buffer save #+BEGIN_SRC emacs-lisp (alex/keybindings "," '(save-buffer :save-buffer "save")) #+END_SRC - ** Cleanup whitespace #+BEGIN_SRC emacs-lisp (alex/keybindings "w" '(whitespace-cleanup :which-key "whitespace cleanup")) #+END_SRC - ** Scale text #+BEGIN_SRC emacs-lisp (use-package hydra)