Add god-mode config
This commit is contained in:
parent
72e4f8d0f1
commit
1211a0404d
20
config.org
20
config.org
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user