diff options
| author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-16 21:25:33 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-16 21:33:30 -0400 |
| commit | 015df9c66e66283277c3709376bf6d1f83d55f53 (patch) | |
| tree | 40a87e5d5ee8a60e1e693e0a9d9d522fc979697f /src/nvim/testdir | |
| parent | 68cd18eb0413534807f75a45bb3008c9f2b52947 (diff) | |
| download | rneovim-015df9c66e66283277c3709376bf6d1f83d55f53.tar.gz rneovim-015df9c66e66283277c3709376bf6d1f83d55f53.tar.bz2 rneovim-015df9c66e66283277c3709376bf6d1f83d55f53.zip | |
vim-patch:8.0.1787: cannot insert the whole cursor line
Problem: Cannot insert the whole cursor line.
Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes vim/vim#2857)
https://github.com/vim/vim/commit/e2c8d8392684a940cc5608acc73ff47486bd7b92
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 1b7bd83b3c..c302948ba3 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -321,6 +321,9 @@ func Test_paste_in_cmdline() call feedkeys("ft:aaa \<C-R>\<C-F> bbb\<C-B>\"\<CR>", 'tx') call assert_equal('"aaa /tmp/some bbb', @:) + call feedkeys(":aaa \<C-R>\<C-L> bbb\<C-B>\"\<CR>", 'tx') + call assert_equal('"aaa '.getline(1).' bbb', @:) + set incsearch call feedkeys("fy:aaa veryl\<C-R>\<C-W> bbb\<C-B>\"\<CR>", 'tx') call assert_equal('"aaa verylongword bbb', @:) |