vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit bdb7e082e351423686eb229f2f67009fd680a2ad parent a683a8dbc4ea685ad377cb4404334f037385afe3 Author: Marc André Tanner <mat@brain-dump.org> Date: Sun, 17 Jan 2016 13:59:37 +0100 vis: make :e an alias for :edit Diffstat:
| M | vis-cmds.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vis-cmds.c b/vis-cmds.c @@ -87,7 +87,7 @@ static bool cmd_unmap(Vis*, Filerange*, enum CmdOpt, const char *argv[]); static Command cmds[] = { /* command name / optional alias, function, options */ { { "bdelete" }, cmd_bdelete, CMD_OPT_FORCE }, - { { "edit" }, cmd_edit, CMD_OPT_FORCE }, + { { "edit", "e" }, cmd_edit, CMD_OPT_FORCE }, { { "help" }, cmd_help, CMD_OPT_NONE }, { { "map", }, cmd_map, CMD_OPT_FORCE|CMD_OPT_ARGS }, { { "map-window", }, cmd_map, CMD_OPT_FORCE|CMD_OPT_ARGS },