Vim search under cursor

Wojciech Muła wojciech_mula at poczta.null.onet.pl.invalid
Wed Feb 7 08:10:15 EST 2007


jm.suresh at no.spam.gmail.com wrote:
> Hi, I am using gvim to edit python source files. When I press "*" or
> "#", I would want to search for the attribute name under the cursor
> and not the entire string.
>  For example, If I have os.error and pressing * on top of error
> searches for os.error rather than error. How to set this, any Idea?

Press / then Ctrl-R-A then enter -- of course you should recored it
as a macro.

w.



More information about the Python-list mailing list