forked from aniani/vim
updated for version 7.3.246
Problem: Repeating "f4" in "4444" skips one 4. Solution: Check the t_cmd flag. (Christian Brabandt)
This commit is contained in:
@@ -1585,7 +1585,7 @@ searchc(cap, t_cmd)
|
||||
/* Force a move of at least one char, so ";" and "," will move the
|
||||
* cursor, even if the cursor is right in front of char we are looking
|
||||
* at. */
|
||||
if (vim_strchr(p_cpo, CPO_SCOLON) == NULL && count == 1)
|
||||
if (vim_strchr(p_cpo, CPO_SCOLON) == NULL && count == 1 && t_cmd)
|
||||
stop = FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user