Jean Johner
unread,Jan 6, 2011, 12:04:30 PM1/6/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim_dev
Hello,
Consider the following _vimrc (for Windows vim 7.3)
set nocompatible
set lines=47
set cmdheight=2
set number
Open a file
Add the pattern "foobar" at lines 10 and 70
Go to top
1/ Normal mode
Type / foobar (foobar at line 10 is found)
Type n (foobar at line 70 is found)
Type n (foobar at line 10 is found and "search hit BOTTOM, continuing
at TOP" message is displayed)
Go to top
2/ Activate insert mode
Type CTRL-O / foobar (foobar at line 10 is found)
Type CRTL-O n (foobar at line 70 is found)
Type CRTL-O n (foobar at line 10 is found BUT no "search hit BOTTOM,
continuing at TOP" message is displayed)
Now if you type CTRL-O alone, the "search hit BOTTOM, continuing at
TOP" message is displayed, indicating that the message has probably
been hidden by the -- INSERT -- message
Remarks:
- The problem has been reproduced by Jeffrey Lim (see thread with the
same title on vim_use)
- It occurs for any value of cmdheight
- It does not occur if the second (and last) "foobar" is on line 42
My feeling is that this feature is very annoying for people working in
insert mode.
Best regards,
Jean Johner