On Fri, Apr 15, 2011 at 10:50:27AM -0400, Eric Weir wrote:
>
> On Apr 14, 2011, at 9:55 AM, Tim Chase wrote:
>
> >> I'm finding h, j, k, l; e, b; $, 0; and H, M, L a bit limited
> >
> > While Tim Gray mentioned mappings for gj/gk, I also notice your list omits
> > the f/F/t/T/;/, motions as well as the sentence "(" and ")" motions. I use
> > the fFtT;, motions *ALL* the time, to the point where I almost never use
> > h/l to move horizontally. For prose (rather than code), the parens are
> > useful for jumping sentence-wise. Additionally the w/W/b/B/e/E motions
> > will speed up your horizontal movement.
>
>
> Thanks for bringing these to my attention, Tim -- and for the other
> suggestions. I get "(" and ")" and w/W/b/B/e/E, but f/F/t/T are eluding me at
> the moment. I can't tell what they do.
*f*
f{char} To [count]'th occurrence of {char} to the right. The
cursor is placed on {char} |inclusive|.
{char} can be entered as a digraph |digraph-arg|.
When 'encoding' is set to Unicode, composing
characters may be used, see |utf-8-char-arg|.
|:lmap| mappings apply to {char}. The CTRL-^ command
in Insert mode can be used to switch this on/off
|i_CTRL-^|.
6fc -> move the the 6th occurence of 'c' to the right
*F*
F{char} To the [count]'th occurrence of {char} to the left.
The cursor is placed on {char} |exclusive|.
{char} can be entered like with the |f| command.
6Fc -> move the the 6th occurence of 'c' to the left
*t*
t{char} Till before [count]'th occurrence of {char} to the
right. The cursor is placed on the character left of
{char} |inclusive|.
{char} can be entered like with the |f| command.
6fc -> move till before the the 6th occurence of 'c' to the right
*T*
T{char} Till after [count]'th occurrence of {char} to the
left. The cursor is placed on the character right of
{char} |exclusive|.
{char} can be entered like with the |f| command.
6Fc -> move till after the the 6th occurence of 'c' to the left
*;*
; Repeat latest f, t, F or T [count] times.
*,*
, Repeat latest f, t, F or T in opposite direction
[count] times.
>
> ------------------------------------------------------------------------------------------
> 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
--
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