On Wed, 22 Sep 2010, BC wrote:

On Sep 21, 11:31 pm, "Benjamin R. Haskell" wrote:
I can't quite figure out a way to use => with 't'. But, perhaps the next best thing (depending on your use-case) is the '*' search. If you navigate to put the cursor above the => through other means (word/sentence/paragraph movement), you can easily get to the next one by pressing asterisk above it.

As I mentioned in my first post, On gvim in Windows at least, that won't work. A '*' search with the cursor on that character (as well as on other characters used as bullets, including the '*' itself) won't search for the next bullet, it'll find the word after it instead.

Hmm.  Interesting.

:help star describes it fully, and it's filetype-dependent, since it depends on 'iskeyword'

Didn't realize I'd tested on a corner case. Using % to indicate the character in question, only the character on a line by itself works.

%nospace              " finds nospace
% word-after          " finds word
 % spaces surround    " finds spaces
%                     " finds the character
before % after        " finds after

--
Best,
Ben

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