vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 26f61740640ae6e97db00389d46e93092ab874f1 parent 0c6da7957b7399ca698bbfdf17604ccdc04f34ed Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 22 May 2018 16:04:57 +0200 sam: always apply | command to existing selections Diffstat:
| M | sam.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sam.c b/sam.c @@ -188,7 +188,7 @@ static const CommandDef cmds[] = { CMD_SHELL|CMD_ADDRESS_POS, NULL, cmd_pipein }, { "|", VIS_HELP("Pipe range through command") - CMD_SHELL|CMD_ADDRESS_POS, NULL, cmd_filter + CMD_SHELL, NULL, cmd_filter }, { "!", VIS_HELP("Run the command") CMD_SHELL|CMD_ONCE|CMD_ADDRESS_NONE, NULL, cmd_launch