Freedom_Ben
Freedom_Ben

Reputation: 11933

How do I tell IntelliJ IdeaVim to re-source the .ideavimrc

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?

Upvotes: 93

Views: 29536

Answers (4)

Code on the Rocks
Code on the Rocks

Reputation: 17566

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

enter image description here

Upvotes: 16

Asaduzzaman Pavel
Asaduzzaman Pavel

Reputation: 41

I have the following handly key binds.

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

Upvotes: 4

Victor
Victor

Reputation: 1041

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

Upvotes: 2

user1489829
user1489829

Reputation: 1840

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

Upvotes: 150

Related Questions