* Swap Tab and Escape in all modes including evil
@ 2021-02-13 20:40 Igor
2021-02-13 22:36 ` Emanuel Berg via Users list for the GNU Emacs text editor
0 siblings, 1 reply; 2+ messages in thread
From: Igor @ 2021-02-13 20:40 UTC (permalink / raw)
To: help-gnu-emacs
Hello.
'Escape' is too far away on modern keyboards and 'Tab' could be easily
typed as 'Ctrl+i' in terminal applications and Emacs. So I found it
convenient to swap them in terminal key bindings and would like to have
them swapped also in Emacs but not in other GUI applications(so xmodmap
or xcape is not an option). Is it possible? Or at least is it possible
to make 'Tab' act as 'Escape'?
I've tried
|`(define-key input-decode-map [tab] [?\e])`|
But this doesn't trigger insert-to-normal transition in evil mode: I am
pressing 'Tab', I am seeing `|ESC ESC ESC`| in bottom bar, but evil
state remains |<I>|.||
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-13 22:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-13 20:40 Swap Tab and Escape in all modes including evil Igor
2021-02-13 22:36 ` Emanuel Berg via Users list for the GNU Emacs text editor
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.