问题描述
我在Windows 7上使用android studio并安装了IdeaVim,我使用:map jj< Esc>
(我知道这是一个错误),之后我用:map jj
为了禁用它,它变为< Nop>
。但是当我回到命令模式时,我不能再使用了。我试过 unmap
, mapclear
,..但它不起作用。
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 to go down anymore. I tried unmap
, mapclear
,.. but it's not work.
所以现在我想找到.ideavimrc文件来删除那个映射(我是关于vim的新手,请详细说明:D)
So now i want to find .ideavimrc file to remove that mapping (i am a newbie about vim, so detail please :D )
推荐答案
我也有这个问题。我发现这是因为我没有创建该文件。我在Windows 7上并使用Android Studio。
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.
-
转到C:/Users/YourUserName/.ideavimrc。
Go to C:/Users/YourUserName/.ideavimrc.
如果.ideavimrc不存在,则需要创建它。
If .ideavimrc doesn't exist, you need to create it.
添加您想要的代码 - 例如
:设置数字
Add the code you want - such as
:set number
这篇关于哪里可以在Windows 7上找到ideavim 0.41的.ideavimrc文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!