vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 9d4332a812b75c4a6fed3b2e4f5d7f5f85913ac0 parent 67666645919c2513ac5ab6e937444e1cc1027fdd Author: Josh Wainwright <wainwright.ja@gmail.com> Date: Wed, 20 Apr 2016 09:22:20 +0100 Run vim with `-u NONE` to ignore vimrc This might not be the best way to specify this, but the tests were failing for me as vim was using my vimrc and so picking up my own keybindings. Diffstat:
| M | vim/test.sh | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vim/test.sh b/vim/test.sh @@ -23,6 +23,7 @@ for t in $TESTS; do VIM_OUT="$t.$VIM.out" printf "Running test %s with %s ... " "$t" "$e" rm -f "$OUT" "$ERR" + [ "$e" = "$VIM" ] && EDITOR="$VIM -u NONE" { cat "$t.keys"; printf "<Escape>:wq! $OUT<Enter>"; } | cpp -P 2>/dev/null | ../util/keys | $EDITOR "$t.in" 2> /dev/null if [ "$e" = "$VIM" ]; then if [ -e "$REF" ]; then