10

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 )

enter image description here

enter image description here

pc43
  • 439
  • 1
  • 7
  • 19

2 Answers2

13

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

Derek Kier
  • 322
  • 3
  • 5
  • Thanks so much :D, just make it – pc43 Nov 24 '15 at 16:29
  • 1
    Note: On windows 10, I found that I was not able to just rename a txt file to .ideavimrc. Instead I had to create a file from the cmd line. – Janac Meena Apr 09 '16 at 20:24
  • 5
    Under the current plugin implementation, there is a small blue-green "V" icon in the bottom right corner. Clicking it pops up a small menu for the plugin, including an option for opening `.ideavimrc` in an editor tab. I do not know whether the file must already exist; I only discovered the icon after I'd already created the file. I'm using version 0.56 of the plugin but I don't know when this would have been added. – Ti Strga Apr 09 '20 at 21:51
  • 1
    @TiStrga Thanks. I haven't had the file created, and clicking that icon gave ma an option to Create one. After clicking it it created it in the directory specified above – Eternal21 Jan 17 '23 at 21:52
3

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.

Daniel Yun
  • 112
  • 6