The nifty CTRL-G
on Mac, which selects the next occurence of a word, does not work when IdeaVim is activated. So for quite a while, I've just lived with disabling IdeaVim, every time that I want to do a multi-selection as such. But I use it more and more. Are there a work-around, to get it to work?
... Or can I do it VIM-style somehow?
Concrete example
If I have something like this:
$foo = 123
if( isset( $foo ) ){
echo $foo;
} // if( isset( $foo ) ){
And I want to select all $foo
and replace it with $bar
.
If I didn't use IdeaVim, then I'd be able to select the first $foo
and press CTRL-G
4 times (or press CTRL-CMD-G
if I want to select all of them), and then write $bar
.
... Currently, I just deactivate IdeaVim, and do it.
Further notes
I have tried and empty my .ideavimrc
-file to ensure that it isn't something in there, that collides with it. And the result is the same.
You can choose IDE
handler for conflicting mapping if you want to execute idea action instead of vim's one.