But with the following command
execute "normal! iaaa\<Esc>Ibbb\<Esc>`]"
Cursor is moved at first "a".
I expected that cursor is moved at last "b".
Is it intended behavior?
When yank or paste "bbb", `] moves cursor at last "b".
--
Yukihiro Nakadaira - yukihiro....@gmail.com
I also think this is a bug! I have a script that doesn't work correctly
in some cases, because `] places the cursor *after* the change (instead
of the last character of the change).
The script maps a key that basically executes n.n.n.n. ... until the
end of the buffer (for example: "repeat the last c//e (<- sort of!) for
all remaining matches").
Now if match A is immediately followed by the next match B, and A was
just changed, "n" will skip B, because search started at `] (= at the
first character of B).
--
Andy