summaryrefslogtreecommitdiff
path: root/src/testdir/test13.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-06-19 12:43:07 +0200
committerBram Moolenaar <Bram@vim.org>2015-06-19 12:43:07 +0200
commitc7a0d32c834ff321491d8fd7bc68bf6cabd11e44 (patch)
treeb6b44a0b1ba641a2b63f1185c454c342f387cdf0 /src/testdir/test13.in
parentacc39888cddbc8082fb3b89c1a46646bdca55e42 (diff)
downloadvim-c7a0d32c834ff321491d8fd7bc68bf6cabd11e44.zip
patch 7.4.740
Problem: ":1quit" works like ":.quit". (Bohr Shaw) Solution: Don't exit Vim when a range is specified. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test13.in')
-rw-r--r--src/testdir/test13.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test13.in b/src/testdir/test13.in
index cb8a6fff8..cbf78c736 100644
--- a/src/testdir/test13.in
+++ b/src/testdir/test13.in
@@ -48,6 +48,12 @@ otestje3
:au BufWipeout Xtestje1 buf Xtestje1
:bwipe
:w >>test.out
+:only
+:help
+:wincmd w
+:1quit
+:$put ='Final line'
+:$w >>test.out
:qa!
ENDTEST