aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorJosh Wainwright <wainwright.ja@gmail.com>2016-04-20 09:22:20 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-04-21 10:51:58 +0200
commit0dee858c65650bcf23acab846f4ea9e8c84ff6e9 (patch)
tree5ca15d5a39dec53a30c4b286eb2ca2516c2f225a /vim
parent67666645919c2513ac5ab6e937444e1cc1027fdd (diff)
downloadvis-0dee858c65650bcf23acab846f4ea9e8c84ff6e9.tar.gz
vis-0dee858c65650bcf23acab846f4ea9e8c84ff6e9.tar.xz
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 (limited to 'vim')
-rwxr-xr-xvim/test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/vim/test.sh b/vim/test.sh
index 3734268..7eb439d 100755
--- 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