vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit c62e3e2a864475a9a1f83c38c738def56b20849d parent 2e102a11afe9b256f0f9cf5391faf445fd40430a Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 19 Apr 2016 15:14:14 +0200 Workaround bug in +- address implementation Diffstat:
| M | vim/prompt/history.keys | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vim/prompt/history.keys b/vim/prompt/history.keys @@ -1,6 +1,6 @@ :+-s/line/word/<Enter> /* replace something on first line */ -:2<Enter> /* select second line */ +:2<Enter>l /* select second line */ :<Up><Up><Enter> /* repeat replacement */ :e<Backspace><Backspace> /* simulate a typo on the command line */ -:3<Enter> /* select third line */ +:3<Enter>l /* select third line */ :<Up><Up><Enter> /* repeat replacement */