vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 56ad127618fa6365ed563a69ba6b0a1b308c5407 parent addca182dcdfd54787fdb523f8cea19b0b6e8702 Author: Marc André Tanner <mat@brain-dump.org> Date: Sat, 17 Dec 2016 10:55:04 +0100 test/vis: add some insert mode mapping regression tests Diffstat:
| A | vis/mappings/insert-mode.in | | | 0 | |
| A | vis/mappings/insert-mode.keys | | | 6 | ++++++ |
| A | vis/mappings/insert-mode.ref | | | 4 | ++++ |
3 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/vis/mappings/insert-mode.in b/vis/mappings/insert-mode.in diff --git a/vis/mappings/insert-mode.keys b/vis/mappings/insert-mode.keys @@ -0,0 +1,6 @@ +:map! insert jj <nop> <Enter> +ij<Escape> +:map! insert jj >< <Enter> +Ojj<Escape> +:map! insert >> ><>x> <Enter> +o>><Escape> diff --git a/vis/mappings/insert-mode.ref b/vis/mappings/insert-mode.ref @@ -0,0 +1,3 @@ +>< +><>x> +j +\ No newline at end of file