[wingide-users] VI support for text object selection

Wingware Support support at wingware.com
Thu Feb 18 08:44:44 MST 2010


Tim Kersten wrote:
> Hi, would it be possible to have VI support for text object selection?
>
> http://vimdoc.sourceforge.net/htmldoc/motion.html#object-select
>
> I find it very useful for making selections in code. Also helps when 
> editing XML files to be able to do something like 'dat' from normal mode.
>
> 'd' in this case is an operator (delete). An operator followed by 'a' 
> means 'a' or 'an' object, and 't' means tag. So in the case of XML, 
> this would delete the current tag and its contents.
>
> Another example:
>
> di'   or   di"
>
> 'i' being 'inner', followed by the type of quote would mean to delete 
> inner parts of a quoted string, depending on which type of quote was used.

I'll add this to our vi mode task list.

Thanks,

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com




More information about the wingide-users mailing list