aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-24 16:48:10 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-24 16:48:10 +0200
commitea787fd572c791447b02801e02c5f46099283a00 (patch)
tree600ac70007f2496f4403f70a7b58749841216fbe /config.def.h
parent41debbfd7649a347f5c49489ed4de536f9d62c78 (diff)
downloadvis-ea787fd572c791447b02801e02c5f46099283a00.tar.gz
vis-ea787fd572c791447b02801e02c5f46099283a00.tar.xz
Implement :new and :vnew
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 68550b3..faa7e06 100644
--- a/config.def.h
+++ b/config.def.h
@@ -49,6 +49,7 @@ enum {
static Command cmds[] = {
{ "^[0-9]+$", cmd_gotoline, false },
{ "^e(dit)?!?$", cmd_edit, false },
+ { "^new$", cmd_new, false },
{ "^o(pen)?$", cmd_open, false },
{ "^qa(ll)?!?$", cmd_qall, false },
{ "^q(quit)?!?$", cmd_quit, false },
@@ -57,6 +58,7 @@ static Command cmds[] = {
{ "^set$", cmd_set, true },
{ "^sp(lit)?$", cmd_split, false },
{ "^s(ubstitute)?$", cmd_substitute, false },
+ { "^vnew?$", cmd_vnew, false },
{ "^v(split)?$", cmd_vsplit, false },
{ "^wq!?$", cmd_wq, false },
{ "^w(rite)?$", cmd_write, false },