vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 4738e281c434b05bc6e909646b689e14cdb2b785 parent db403b73c9706dbcb657ee3fd585b56d08bdb2c7 Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 13 Jan 2017 19:33:17 +0100 test: change existing tests to avoid substitute command Diffstat:
| R | vim/golf/4e31627b74ab580001000007/1.keys -> vim/golf/4e31627b74ab580001000007/1.disabled | | | 0 | |
| M | vim/registers/command.keys | | | 4 | ++-- |
| M | vis/prompt/history.keys | | | 2 | +- |
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/vim/golf/4e31627b74ab580001000007/1.keys b/vim/golf/4e31627b74ab580001000007/1.disabled diff --git a/vim/registers/command.keys b/vim/registers/command.keys @@ -1,4 +1,4 @@ -:s,command,COMMAND,g<Enter> -o<C-r>:<Escape> +:+-d +O<C-r>:<Escape> j @: diff --git a/vis/prompt/history.keys b/vis/prompt/history.keys @@ -1,4 +1,4 @@ -:+-s/line/word/<Enter> /* replace something on first line */ +:-0+0x/line/c/word/<Enter> /* replace something on first line */ :2<Enter>l /* select second line */ :<Up><Up><Enter> /* repeat replacement */ :e<Backspace><Backspace> /* simulate a typo on the command line */