diff options
author | nicm <nicm> | 2018-08-29 08:56:51 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-08-29 08:56:51 +0000 |
commit | e53094bc5f302d697661e06cea1eeade27449f23 (patch) | |
tree | b9c6c843f847ce945ec724d892559aad243113c9 | |
parent | 79d2351ce8acbd579081e558cdbaebe333e10153 (diff) | |
download | rtmux-e53094bc5f302d697661e06cea1eeade27449f23.tar.gz rtmux-e53094bc5f302d697661e06cea1eeade27449f23.tar.bz2 rtmux-e53094bc5f302d697661e06cea1eeade27449f23.zip |
Add C-Left and C-Right as aliases for M-b and M-f.
-rw-r--r-- | status.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1059,6 +1059,7 @@ status_prompt_key(struct client *c, key_code key) free(s); return (1); } + key &= ~KEYC_XTERM; keys = options_get_number(c->session->options, "status-keys"); if (keys == MODEKEY_VI) { @@ -1226,6 +1227,7 @@ process_key: goto changed; case 'f'|KEYC_ESCAPE: + case KEYC_RIGHT|KEYC_CTRL: ws = options_get_string(oo, "word-separators"); /* Find a word. */ @@ -1249,6 +1251,7 @@ process_key: goto changed; case 'b'|KEYC_ESCAPE: + case KEYC_LEFT|KEYC_CTRL: ws = options_get_string(oo, "word-separators"); /* Find a non-separator. */ |