Mercurial > vim
comparison src/testdir/test_cmdline.vim @ 13831:1f95ec5de238 v8.0.1787
patch 8.0.1787: cannot insert the whole cursor line
commit https://github.com/vim/vim/commit/e2c8d8392684a940cc5608acc73ff47486bd7b92
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 1 19:24:03 2018 +0200
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 https://github.com/vim/vim/issues/2857)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 01 May 2018 19:30:06 +0200 |
parents | 75e35ebdb7a4 |
children | 3aac8d62351c |
comparison
equal
deleted
inserted
replaced
13830:8935ed22349c | 13831:1f95ec5de238 |
---|---|
304 call assert_equal('"aaa asdf bbb', @:) | 304 call assert_equal('"aaa asdf bbb', @:) |
305 | 305 |
306 call feedkeys("ft:aaa \<C-R>\<C-F> bbb\<C-B>\"\<CR>", 'tx') | 306 call feedkeys("ft:aaa \<C-R>\<C-F> bbb\<C-B>\"\<CR>", 'tx') |
307 call assert_equal('"aaa /tmp/some bbb', @:) | 307 call assert_equal('"aaa /tmp/some bbb', @:) |
308 | 308 |
309 call feedkeys(":aaa \<C-R>\<C-L> bbb\<C-B>\"\<CR>", 'tx') | |
310 call assert_equal('"aaa '.getline(1).' bbb', @:) | |
311 | |
309 set incsearch | 312 set incsearch |
310 call feedkeys("fy:aaa veryl\<C-R>\<C-W> bbb\<C-B>\"\<CR>", 'tx') | 313 call feedkeys("fy:aaa veryl\<C-R>\<C-W> bbb\<C-B>\"\<CR>", 'tx') |
311 call assert_equal('"aaa verylongword bbb', @:) | 314 call assert_equal('"aaa verylongword bbb', @:) |
312 | 315 |
313 call feedkeys("f;:aaa \<C-R>\<C-A> bbb\<C-B>\"\<CR>", 'tx') | 316 call feedkeys("f;:aaa \<C-R>\<C-A> bbb\<C-B>\"\<CR>", 'tx') |