On Oct 13, 4:45 am, Sergii Boiko <[email protected]> wrote:
> When you work in normal mode and use 'f' for moving to some char, it
> can be repeated by ';' combination. But it's not a case for 't'. When
> you hit till-symbol and then press ';' cursor sticks and can't move
> further. So, to repeat till-search you should shift cursor one
> position further.
>
> I suggest change behaviour of 't' to be more handy and useful. So in
> case you already before 'till-char' combination t-char moves you to
> next till-char. And ';' combination works in the same fashion for
> repeating last till-search.
>

On the contrary, I think it is the proposed new behavior that is
inconsistent. See what happens when you use a count:

fp2; will move to the 3rd 'p' on a line.
tp2; will currently move to just before the 3rd 'p' on a line. Your
proposal would move to just before the 4th.

Or when you aren't in exactly the same place to start with:

0dtpj0d; will delete from the start of the line to the first 'p' AND
DO THE SAME ON THE NEXT LINE. Your proposal would delete from the
start of the line to just before the 2nd 'p' on the next line.

-- 
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