aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-01 09:02:44 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-01 09:02:44 +0100
commitcc19203be2aab1adc4930b18e46d522005159412 (patch)
tree15d50f1af3bfa4017c47184c31aa6900e781c062 /options-table.c
parent7af58172457f74c6bb8e09625a07b2ddfeea2b8a (diff)
downloadrtmux-cc19203be2aab1adc4930b18e46d522005159412.tar.gz
rtmux-cc19203be2aab1adc4930b18e46d522005159412.tar.bz2
rtmux-cc19203be2aab1adc4930b18e46d522005159412.zip
Add 'e' key in buffer mode to open the buffer in an editor.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index e04002ff..b4aa47e2 100644
--- a/options-table.c
+++ b/options-table.c
@@ -209,6 +209,12 @@ const struct options_table_entry options_table[] = {
.default_str = "screen"
},
+ { .name = "editor",
+ .type = OPTIONS_TABLE_STRING,
+ .scope = OPTIONS_TABLE_SERVER,
+ .default_str = _PATH_VI
+ },
+
{ .name = "escape-time",
.type = OPTIONS_TABLE_NUMBER,
.scope = OPTIONS_TABLE_SERVER,