diff options
author | nicm <nicm> | 2020-05-16 15:24:28 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 15:24:28 +0000 |
commit | 78595457f965975cf5a24e8bbab6dcb153020b6e (patch) | |
tree | 622695a4a91e2d3fd490d8f0b9e79aa48ae9bedc /tmux.c | |
parent | a3cbc014c386fd1f171e3139ed71c67503e1ccb3 (diff) | |
download | rtmux-78595457f965975cf5a24e8bbab6dcb153020b6e.tar.gz rtmux-78595457f965975cf5a24e8bbab6dcb153020b6e.tar.bz2 rtmux-78595457f965975cf5a24e8bbab6dcb153020b6e.zip |
Add 'e' key in buffer mode to open the buffer in an editor.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -443,6 +443,7 @@ main(int argc, char **argv) /* Override keys to vi if VISUAL or EDITOR are set. */ if ((s = getenv("VISUAL")) != NULL || (s = getenv("EDITOR")) != NULL) { + options_set_string(global_options, "editor", 0, "%s", s); if (strrchr(s, '/') != NULL) s = strrchr(s, '/') + 1; if (strstr(s, "vi") != NULL) |