Vim search under cursor

2007-02-07 Thread [EMAIL PROTECTED]
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?

Re: Vim search under cursor

2007-02-07 Thread Neil Cerutti
On 2007-02-07, [EMAIL PROTECTED] [EMAIL PROTECTED] 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

Re: Vim search under cursor

2007-02-07 Thread Wojciech Muła
[EMAIL PROTECTED] 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