问题
I use android studio on Windows 7 and it installed IdeaVim, i used :map jj <Esc>
(i know it's a mistake), after that i used :map jj
in order to disable it and it became <Nop>
. But when i came back to command mode, i can't use j to go down anymore. I tried unmap
, mapclear
,.. but it's not work.
So now i want to find .ideavimrc file to remove that mapping (i am a newbie about vim, so detail please :D )
回答1:
I had a problem with this too. I found out it was because I hadn't created the file. I am on Windows 7 and am using Android Studio.
Go to C:/Users/YourUserName/.ideavimrc.
If .ideavimrc doesn't exist, you need to create it.
Add the code you want - such as
:set number
Windows 7 .ideavimrc settings for IdeaVim
回答2:
I've suffered the same problem.
My Env: Windows 8, Android Studio 1.5.1, IdeaVim 0.41
- C:\Users\_ideavimrc
- C:\Users\.ideavimrc
Both files are working properly.
- :set number
- set number
Both cases are working properly.
来源:https://stackoverflow.com/questions/32969105/where-i-can-find-ideavimrc-file-of-ideavim-0-41-on-windows-7