[wingide-users] Making ctrl+arrow stop on underscore

Wingware Support support at wingware.com
Mon Nov 2 11:05:00 MST 2009


Ram Rachum wrote:
> Say I have a name "do_something" in my code, and I place the caret on the left 
> side of the name, and press control + right-arrow. Wing will skip to the end of 
> the name, while I would prefer it to stop on the underscore. Is there any way to 
> do that?

You could bind Ctrl-Right to the following command using the Keyboard / Extra Key
Bindings preference:

forward-word(delimiters=" _()[]{}.")

You may want to add to the set of delimiters, of course.

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com



More information about the wingide-users mailing list