On Apr 15, 2011, at 11:15 AM, Tim Chase wrote:

> On 04/15/2011 09:50 AM, Eric Weir wrote:
>> but f/F/t/T are eluding me at the moment. I can't tell what
>> they do.
> 
> They allow you to jump to (f/F) or one-character-shy-of (t/T) the Nth 
> (default N=1) match of the subsequent letter.  So in this paragraph, if I'm 
> at the beginning (on the "T" in They), typing "f(" will go forward to the 
> first paren around the "f/F". Typing "3t-" will go to the "y" in "shy".  The 
> F/T versions move backwards instead of forwards as f/t do.  It's particularly 
> powerful in concert with commands like "d" or "c".  Often I want to "delete 
> up to the next character {c}" such as in code, so I might use
> 
>  dt.
> 
> to delete up to (but not including) the next period.

Thanks for the explanation, Tim. I see now why they weren't working for me -- 
or, why they appeared not to be working.

I'll have to practice with them, but that goes without saying.

------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
[email protected]




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

Reply via email to