summaryrefslogtreecommitdiff
path: root/src/testdir/test_insertcount.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-07-30 16:00:58 +0200
committerBram Moolenaar <Bram@vim.org>2014-07-30 16:00:58 +0200
commit4f5ce33d415a0eeedd7f04baa6715431e72652e1 (patch)
tree2ba79c0e7cdd6e2ed02b741142cf0a4822e67093 /src/testdir/test_insertcount.in
parent23fb7a995534f45a497761461d487e38cc1067f7 (diff)
downloadvim-git-4f5ce33d415a0eeedd7f04baa6715431e72652e1.tar.gz
updated for version 7.4.387v7.4.387
Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica) Solution: Write the ESC in the second stuff buffer.
Diffstat (limited to 'src/testdir/test_insertcount.in')
-rw-r--r--src/testdir/test_insertcount.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/testdir/test_insertcount.in b/src/testdir/test_insertcount.in
new file mode 100644
index 000000000..c7595b1ce
--- /dev/null
+++ b/src/testdir/test_insertcount.in
@@ -0,0 +1,14 @@
+Tests for repeating insert and replace.
+
+STARTTEST
+:so small.vim
+:/Second
+4gro
+:/^First/,$wq! test.out
+:" get here when failed and in Insert mode
+:.wq! test.out
+ENDTEST
+
+First line
+Second line
+Last line