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.

0

Currently text objects aren't supported. It's on my todo list. I'll move it up the list.

Rick

0
Avatar
Permanently deleted user

Thanks Rick! That'll be a nice feature to have. Love the plugin by the way.

0
Avatar
Permanently deleted user

By the way, will this also include the abibilty to do d/x (delete to x) ?

0

That one is harder with the way I've done searching. I'll look into it but no promises.

Rick

0

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

0

In case you didn't notice, support for aw, aW, iw, and iW was added in 0.8.0.

Enjoy,
Rick

0
Avatar
Permanently deleted user

Awesome! Thanks for posting this here. No, I wasn't aware. Going to get the upgrade right now.

0
Avatar
Permanently deleted user

Any chance you could port the plugin to jEdit also:)

0

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

0

请先登录再写评论。