intellij-ideaintellij-pluginideavim

IntelliJ IdeaVim Display QuickDoc on Keypress


I recently started using IdeaVim in IntelliJ and I'm a big fan. In my VSCode workflow, I generally use g + h to display the hover information. I was trying to setup the same behavior in IntelliJ, but I cannot seem to get it working.

I attempted a few different actions, but none of them seem to work. Currently, it seems like the command selects the character under the cursor, and puts me into insert mode. I cannot find what this corresponds too, or how to change the behavior.

Example Of Hover IntelliJ Hover Card


Solution

  • you can use the action ShowHoverInfo with the following command:

    map gh <Action>(ShowHoverInfo)
    

    This information and other actions are described in IdeaVim docs.