This will allow you to switch between a Jetbrains IDE and gVim at the same file/line/column by hitting <leader>i
. Hit <leader><leader>i
to start gVim (once).
I've also done this with terminal Vim, but it's much more complex and varies depending on your environment (OS, DE, multiplexers, terminal).
Steps:
Install gVim and the IdeaVim plugin
In IDE: Settings > Build,Execution,Deployment > check "Allow unsigned requests"