Is there a way to use "a" as in caw (change a word) with vim plugin?
I'm new to vim but enjoy using it and would like to use the plugin within IDEA. One of things I do use a lot in vim is to quickly change a word I do caw (change a word), sometimes daw (delete a word, or even das, etc). Is it possible for this to work using the vim plugin in IDEA?
TIA for any info.
请先登录再写评论。
Currently text objects aren't supported. It's on my todo list. I'll move it up the list.
Rick
Thanks Rick! That'll be a nice feature to have. Love the plugin by the way.
By the way, will this also include the abibilty to do d/x (delete to x) ?
That one is harder with the way I've done searching. I'll look into it but no promises.
Rick
There is a possible workaround in the meantime.
If x is on the current line and x is a single character you could do dtx with the same result as d/x.
Rick
In case you didn't notice, support for aw, aW, iw, and iW was added in 0.8.0.
Enjoy,
Rick
Awesome! Thanks for posting this here. No, I wasn't aware. Going to get the upgrade right now.
Any chance you could port the plugin to jEdit also:)
Keep dreaming :)
It was a lot of work getting this to work under one IDE, the only way I would ever port it to another is if I was forced to use some other IDE.
The source code is available - you are more than welcome to use it to make your own port - let me know when you have it working :)
Enjoy,
Rick