Allow most old tests to pass with nocp.

test69.in:
    because 'nocp' sets 'esckeys', add an extra <esc> to avoid 'tm' pause.
This commit is contained in:
Joel Teichroeb 2014-05-02 11:04:17 -07:00 committed by Julian Mehne
parent b574cb6422
commit 62bd20b726
4 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,3 @@
:set cp
:set nocp
:map dotest /^STARTTEST j:set ff=unix cpo-=A :.,/ENDTEST/-1w! Xdotest :set ff& cpo+=A nj0:so! Xdotest dotest
dotest

View File

@ -4,7 +4,7 @@ STARTTEST
:so small.vim
:set noswf
:set ve=all
-dgg
j-dgg
:"
:" Insert "keyword keyw", ESC, C CTRL-N, shows "keyword ykeyword".
:" Repeating CTRL-N fixes it. (Mary Ellen Foster)

View File

@ -30,7 +30,7 @@ STARTTEST
/^{/+1
:set tw=3 fo=t
gqgqo
a 
a 
ENDTEST
{
@ -99,7 +99,7 @@ ENDTEST
STARTTEST
/^{/+2
:set tw& fo=a
I^^
I^^
ENDTEST
{

View File

@ -15,7 +15,7 @@ STARTTEST
:set tw=2 fo=t
gqgqjgqgqo
abc 
abc 
ENDTEST
{
@ -31,7 +31,7 @@ gqgqjgqgqjgqgqjgqgqjgqgqo
a
a


ENDTEST
{
@ -55,7 +55,7 @@ a
ab
abc
ab c
ab
ab
ENDTEST
{
@ -110,7 +110,7 @@ gqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqjgqgqo
a


ENDTEST
{