Add an "Any" key to run a command if a key is pressed that is not bound

in the current key table. GitHub issue 1404.
This commit is contained in:
nicm
2018-07-16 08:48:22 +00:00
parent ff67ef945d
commit 0d88f8a78b
3 changed files with 13 additions and 2 deletions

3
tmux.h
View File

@ -136,6 +136,9 @@ enum {
KEYC_FOCUS_IN = KEYC_BASE,
KEYC_FOCUS_OUT,
/* "Any" key, used if not found in key table. */
KEYC_ANY,
/* Paste brackets. */
KEYC_PASTE_START,
KEYC_PASTE_END,