summaryrefslogtreecommitdiff
path: root/src/testdir/test81.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-06-26 05:36:34 +0200
committerBram Moolenaar <Bram@vim.org>2011-06-26 05:36:34 +0200
commit8b3e0330ba1fee9ac6293f82f546e08be3f0799c (patch)
tree25e23e6842c28b3deef1a7f14f6e03c646001830 /src/testdir/test81.in
parent20892c1e6830abf25828fb73a72815d904271bd0 (diff)
downloadvim-8b3e0330ba1fee9ac6293f82f546e08be3f0799c.zip
updated for version 7.3.235
Problem: ";" gets stuck on a "t" command, it's not useful. Solution: Add the ';' flag in 'cpo'. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test81.in')
-rw-r--r--src/testdir/test81.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/testdir/test81.in b/src/testdir/test81.in
new file mode 100644
index 000000000..e47653fd9
--- /dev/null
+++ b/src/testdir/test81.in
@@ -0,0 +1,18 @@
+Test for t movement command and 'cpo-;' setting
+
+STARTTEST
+:set nocompatible
+:set cpo-=;
+/firstline/
+j0tt;D
+$Ty;D:set cpo+=;
+j0tt;;D
+$Ty;;D:?firstline?+1,$w! test.out
+:qa!
+ENDTEST
+
+firstline
+aaa two three four
+bbb yee yoo four
+ccc two three four
+ddd yee yoo four