vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit d7684fe037d7b9af1cf7b1c8f10295d16b0cfde5 parent 9b8fa0501f80250c5a7f69560914e14d866cb201 Author: Marc André Tanner <mat@brain-dump.org> Date: Thu, 25 Sep 2014 14:50:47 +0200 Do not warn if no command is given Diffstat:
| M | vis.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vis.c b/vis.c @@ -859,7 +859,7 @@ static void prompt_enter(const Arg *arg) { } break; case ':': - if (!exec_command(s)) + if (s && *s && !exec_command(s)) editor_info_show(vis, "Not an editor command"); break; }