You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Vim can't paste the <0c> character (form feed) on Ex or / command line when
'incsearch' variable is set.
What steps will reproduce the problem?
1. start Vim with: vim -u NONE
2. :set nocp display=uhex incsearch
3. :call feedkeys("i\<C-V>x0c\<C-V>x0c\<Esc>Y/\<C-R>\"")
The last line inserts 2 <0c> (form feed characters), yanks the line and appends
the line in the search / line.
What is the expected output? What do you see instead?
I would expect to see at the bottom of the screen:
/<0c><0c><0d>
Instead, I only see:
/<0d>
Now if you do the same with 'noincsearch', it works as expected:
1. start Vim with: vim -u NONE
2. :set nocp display=uhex noincsearch
3. :call feedkeys("i\<C-V>x0c\<C-V>x0c\<Esc>Y/\<C-R>\"")
And then I see the expected:
/<0c><0c><0d>
What version of the product are you using? On what operating system?
Vim 7.3.524 (huge), xubuntu-12.04, x86.
Original issue reported on code.google.com by dominiqu...@gmail.com on 20 May 2012 at 8:51
The text was updated successfully, but these errors were encountered:
The problem is, <ctrl-L> triggers completion when 'incsearch' is set. Therefore
one needs to escape the ctrl-L when pasting it into the commandline.
Attached Patch fixes it.
Original comment by chrisbr...@googlemail.com on 25 Jun 2012 at 6:19
Original issue reported on code.google.com by
dominiqu...@gmail.com
on 20 May 2012 at 8:51The text was updated successfully, but these errors were encountered: