@ -185,6 +185,7 @@ Avoid the infamous *Emacs pinky* by binding =SPC= as a leader key, utilizing the
#+begin_src emacs-lisp
#+begin_src emacs-lisp
(defvar dotfiles/leader-key "SPC")
(defvar dotfiles/leader-key "SPC")
(defvar dotfiles/leader-key-global "C-SPC")
#+end_src
#+end_src
Implement the *leader* key mentioned above using [[https://github.com/noctuid/general.el][general.el]], letting us easily configure prefixed keybindings in a much cleaner manner than the default methods.
Implement the *leader* key mentioned above using [[https://github.com/noctuid/general.el][general.el]], letting us easily configure prefixed keybindings in a much cleaner manner than the default methods.
@ -195,7 +196,8 @@ Implement the *leader* key mentioned above using [[https://github.com/noctuid/ge
(general-create-definer dotfiles/leader
(general-create-definer dotfiles/leader
:states '(normal motion)
:states '(normal motion)
:keymaps 'override
:keymaps 'override
:prefix dotfiles/leader-key))
:prefix dotfiles/leader-key
:global-prefix dotfiles/leader-key-global))
#+end_src
#+end_src
Use [[https://github.com/abo-abo/hydra][hydra]] for transient keybindings sharing a common prefix.
Use [[https://github.com/abo-abo/hydra][hydra]] for transient keybindings sharing a common prefix.