Hi Malvikus The ";" works for fi in your case, but if you want it work for ti, there is something inside you need to know.
the ";" repeats the previous command, so that means it is same as you type "ti" again. You case : A love Vim, that's the best editor in my life. The first "ti" move the cursor to V. You can try the second "ti", it still in V. Strange? no, because "t" command move the cursor one letter before the one you want. When you type the second "ti", it starts from V and find an "i" just after "V", so it will stop still on "V". So that explains ";" doesn't work. Actually, it works. But just always find the same i and stop at the same "V". If you want it move to next "d", you can move the cursor to i then press ";". Try it, you will find it works! On Wed, Aug 18, 2010 at 6:15 PM, John Beckett <[email protected]> wrote: > Malvikus wrote: >> I've read manual about moving to a character commands. And >> I've found inadvertence. If I use "Ti" command in this line >> (for example): >> A love Vim, that's the best editor in my life. >> >> The first I've get cursor on character V in Vim word. But I >> couldn't after that use command ";" or ",". It doesn't work >> (I know why). But I think the most users want behavior when >> after typing ";" Vim move cursor on character d in editor >> word and etc. > > To spell out the issue, put the cursor on 'x' in: > x abc aec > > Type tc (move cursor to character before 'c'). > This works (cursor moves to 'b'). > Now press ; or , and observe that cursor does NOT move. > > Put the cursor on 'b' and type Tc. > Again, pressing ; or , does not move cursor. > > I guess this is how it's always been? > > John > > -- > 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 > -- 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
