82

I made some changes to my .ideavimrc and I want IntelliJ IdeaVim to reload the file. I can obviously close and reopen IntelliJ, but that sucks.

How can I re-source my .ideavimrc without restarting IntelliJ?

Freedom_Ben
  • 11,247
  • 10
  • 69
  • 89

4 Answers4

135

In Intellij's code editor window while in command mode, type a colon, that opens up a mini bar at the bottom. Then type:

:source ~/.ideavimrc
Geoffrey
  • 5,407
  • 10
  • 43
  • 78
user1489829
  • 1,650
  • 1
  • 12
  • 11
3

After editing the .ideavimrc file, you can click the reload button (or press Shift + Cmd + l) to resource it:

enter image description here

Code on the Rocks
  • 11,488
  • 3
  • 53
  • 61
2

Now you can simply press Cmd+Shift+I while editing the .ideavimrc file or press the icon in the top right (Image)

Victor
  • 995
  • 1
  • 10
  • 26
1

I have the following handly key binds.

nnoremap \e :e ~\.ideavimrc<CR>
nnoremap \r :action IdeaVim.ReloadVimRc.reload<CR>