aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_insertcount.in
diff options
context:
space:
mode:
authorNaveen Kumar Molleti <nerd.naveen@gmail.com>2014-09-15 00:54:39 +0530
committerNaveen Kumar Molleti <nerd.naveen@gmail.com>2014-09-15 15:35:49 +0530
commit4f3d49d92104b871975f963d3f7cb1df111c577b (patch)
tree77d2f84fb9b0a3cfccd6ddd364a3ac8190bd74d5 /src/nvim/testdir/test_insertcount.in
parent0838b9773958d06b87e4b290b2716f19f904fa95 (diff)
downloadrneovim-4f3d49d92104b871975f963d3f7cb1df111c577b.tar.gz
rneovim-4f3d49d92104b871975f963d3f7cb1df111c577b.tar.bz2
rneovim-4f3d49d92104b871975f963d3f7cb1df111c577b.zip
vim-patch:7.4.387
Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica) Solution: Write the ESC in the second stuff buffer. https://code.google.com/p/vim/source/detail?r=v7-4-387
Diffstat (limited to 'src/nvim/testdir/test_insertcount.in')
-rw-r--r--src/nvim/testdir/test_insertcount.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_insertcount.in b/src/nvim/testdir/test_insertcount.in
new file mode 100644
index 0000000000..7a40573e63
--- /dev/null
+++ b/src/nvim/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