Add god-mode config

This commit is contained in:
Camden Dixie O'Brien 2023-07-14 15:52:14 +01:00
parent 72e4f8d0f1
commit 1211a0404d

View File

@ -1485,7 +1485,25 @@
ps-print-header nil) ps-print-header nil)
#+end_src #+end_src
* Custom Stuff * Misc
** God mode
God mode essentially makes Emacs a bit more VI-like by introducing
a mode where modifier keys are implicitly held down, thereby
reducing the amount of 'emacs claw' required for most commands. It
runs as a global minor mode.
#+begin_src emacs-lisp
(use-package god-mode)
(god-mode)
#+end_src
In order to enter normal mode, [[help:god-mode-all][god-mode-all]] must be ran, so we'll
bind =C-.= to that:
#+begin_src emacs-lisp
(global-set-key (kbd "C-.") #'god-mode-all)
#+end_src
** Case-flipping ** Case-flipping
Want to be able to toggle the 'shiftedness' of a selected region, Want to be able to toggle the 'shiftedness' of a selected region,
that is, map uppercase to lowercase and vice versa, but also map that is, map uppercase to lowercase and vice versa, but also map