Tuesday, July 31, 2012

Re: What's the best way to move to an arbitrary location on your screen?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/31/2012 10:38 PM, sc wrote:
> On Tue, Jul 31, 2012 at 01:20:14PM -0700, jeroen wrote:
>> On Tuesday, July 31, 2012 9:41:09 PM UTC+2, Ben Fritz wrote:
>>>
>>> Then I will usually use f, F, t, or T, or a / search, or
>>> w/W/b/B to get to the correct column, possibly with an initial
>>> _ or g_ to position the cursor at the beginning or end of the
>>> line (or ^ and $, but I use Dvorak making _ and g_ much faster
>>> to reach).
>>>
>>> Using f/F/t/T is nice because I can follow it up with ; or , if
>>> I didn't supply the right count, and I have a mapping which
>>> will highlight all the matching characters within the line so I
>>> can quickly get the count right on my second try if needed.
>
>> Would you care to share this mapping? It seems very interesting.
>
> it isn't Ben's exclusive mapping, it's everybody's -- see:
>
> :h f
>
> f is the linewise search command -- it is famous for the fact that
> it searches current line only (and to the right only).
>

I know about the f/F/t/T commands. What I was referring to was the
mapping to highlight all the matching characters: "...and I have a
mapping which will highlight all the matching characters within the
line..."

Jeroen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAEBCAAGBQJQGMv7AAoJEBrqc/v4ufiMQP4P/j2uX7cWwoGHkC3JDjGfESsz
S2YuMOzoFKPjxOECTkmYkQVrfClAD+9EtdsTPsLfah2rA2zi5nFm4nUPSkOy4TOy
YDR6gFBTRhzJxPPiRP/ZwvVzLGA17MNOHhPnTc6jhyc9JKtowppDNh2XAdf0UqV1
7L3asiv+HXAiSishHm/N7+lpFz/XuKPey1CweEkp+lClmiSEqjDjnKwU4j6PE1jM
3mMYJOhvO2aBVfy0pB//Nh//+YwMRzXYjpxflkntC3k2wt+Itw2umS9vdoz9a67I
+x3I/EZgWNOLL4Z0aQgYFZDTQFBkikplYgxYETzP5ODrf8eyc9PhAD7//Dw1rBeL
wmlCKAXMGjuU7MNHaQW87epYCLhJvix5chX03eLaAvMjWOpNSvDGPBsENefP7oZ/
QnuAz57msmb0bxXJeN485VQ8STjN8VoLVUFpTSsFx1RaYNNK/Rj23UhFrDZ3rF/f
XJiizlos7vpHDz3/I18Q89UeaskAJFvYAx9Yp7CVTAEDvj8LdKVTiQufB8pMA9BH
mm5ivK9inhcysc3y/0K4r1iae8HDYSF402vZHlrZ7LjBgWgH7iB5ECJLdbK0tPqe
eQON4C5gbR3EzTNoKErWLYkRCn2IziCHAFbY0XTdzVzbYQAvY1dZIAPbQWkyTs1n
qmkDrqU+EEAp2KhSJA+u
=nCCI
-----END PGP SIGNATURE-----

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

No comments:

Post a Comment