Where i can find .ideavimrc file of ideavim 0.41 on windows 7?

限于喜欢 提交于 2019-12-22 06:33:16

问题


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.

  1. Go to C:/Users/YourUserName/.ideavimrc.

  2. If .ideavimrc doesn't exist, you need to create it.

  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!