tool window navigation for vim in IDEA
I am on IntelliJ IDEA Ultimate and I have my vim setup (through vimidea plugin). As you know in vim we move with h j k l in place of the arrow keys. I like it, but I would like to extend it further to include it in my tool window navigation.
So I went to the keymap hoping to find a relevant action to assign it a shortcut ⌘j for down ⌘k for up (I put ⌘ to preserve the search functionality that IDEA offer in the tool window). But unfortunately, I wasn't able to find the relevant action. I believe this question might not be related to the vimidea plugin, I just want to find the relevant action for navigating up and down in tool windows, so I can assign my own shortcuts.
What is the appropriate action for navigating up and down in tool window?
请先登录再写评论。
Hello,
It should be possible in 2019 version: https://youtrack.jetbrains.com/issue/IDEA-123918
I have the same question. Is it at all possible to replace arrows with hjkl ?
Yes, the IdeaVim plugin does that by default.
My mistake, my question was not enough precisely. I was thinking about if it is possible to set delay time (for example 500 ms) and after that use 'j' 'k' to navigate this sub-menu. Or some other solution.
There is no such function. Moreover, it is not expected for a letter to become an arrow in the editor without a verbal command to do so.
By the way, you can use letters from any part of the word in order to see the needed function on the first place faster:
Thx for your response. I wonder if it is possible to define ctrl+j to works like arrow in this case ?
Yes. Just map the needed shortcuts for up/down/left/right actions:
https://i.imgur.com/cbNkkTn.png
Somehow ctrl+j and ctrl+k don't work in usages popup for me
Igor Mikushkin
You need to add the corresponding key mappings to the following actions under File | Settings | Keymap: