On 2010-04-09, Ben Kim wrote: > Vimmers, > > I see some strange vim behavior, and would like to see if I can get help > in debugging this problem. Any help is appreciated. > > When I use the right arrow key to go to the next word, after a delay of a > second, the cursor goes to the next character. > > For example, with this code: > > <cfif page > > I begin from the head of the line and move to "p". The cursor stays there > for a second but then moves automatically to "a".
The right arrow key normally moves the cursor to the next character, not the next word. Therefore it seems that you have mapped the right arrow to move to the next word. When a space is typed in normal mode, the cursor moves to the right by one character. My guess is that there is a space character at the end of your right-arrow mapping. A delay like that usually means that you have typed the first character(s) of a mapping and Vim is waiting for the rest. Do you have any mappings whose lhs begin with a space? Regards, Gary -- You received this message from the "vim_use" 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 To unsubscribe, reply using "remove me" as the subject.
