Depending on the complexity, there’s also abbrev-mode
: https://www.gnu.org/software/emacs/manual/html_node/emacs/Abbrevs.html
Depending on the complexity, there’s also abbrev-mode
: https://www.gnu.org/software/emacs/manual/html_node/emacs/Abbrevs.html
My basic approach is:
Esc
works like in normalevil-mode
, and takes me intovterm-copy-mode
as well. Without doing that, I haveC-w C-w
remapped to move to another window, so I can switch to another window for all the rest of my keybindings. And I haveC-Esc
mapped to sendEsc
into the terminal itself.I’m using
evil-collection
for the basic bindings, and I have my own custom stuff here: https://github.com/bricka/emacs.d/blob/main/init.el#L1054-L1073Edit: Forgot
C-Esc