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 for os.error rather than error. How to set this, any Idea?

It's will to break things, but you can do this by editing the
iskeyword string and adding in the '.'. :h 'iskeyword'.

-- 
Neil Cerutti
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to