My system:
Mac OS 10.11.6
My version of Macvim:
Custom Version 8.0.525 (130)
Vim version installed on my Mac is:
version 7.3
I am only the beginner. In one of the videos I watched the tutor
gives a great advice on switching off arrows key to avoid temptation
to use them when in an insert mode, for example. I tried to follow the
recommendation by entering a few lines (see below) into .vimrc file,
but nothing's changed - I am still able to play around with those arrows.
I will be grateful for your help.
As I am using Macvim, I have opened .vimrc file by typing:
:tabe ~/.vimrc
Then I entered 8 lines:
"Unmap the arrow keys
no <down> <Nop>
no <left> <Nop>
no <right> <Nop>
no <up> <Nop>
ino <down> <Nop>
ino <left> <Nop>
ino <right> <Nop>
ino <up> <Nop>
Then I closed the file saving the content by typing:
:wq
Then I checked if the content is saved by opening the file again:
:tabe ~/.vimrc
and indeed everything is there.
But when I enter insert mode in another file I am currently editing,
I can freely move around with those arrow keys while in the insert
mode, so the above lines didn't do the job. Please, help me to find
my mistake, and to correct it.
Thank you very much!