Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 64 by [email protected]: Can't paste the <0c> character on Ex or / command line when using 'incsearch'
http://code.google.com/p/vim/issues/detail?id=64

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.


--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui