I laughed at the self-abusing "great advice", but it did work for me.
Did you start a new Vim instance after saving .vimrc?

(Let me state again, it is a bad, silly advice. The tool should be
there to help you. You shall not be treated as having to adapt to
specific tools or machines.)

On 3 May 2017 at 02:42, <vitale.a...@gmail.com> wrote:
>
> Hello!
>
> 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!
>
> --
> --
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "vim_mac" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to vim_mac+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.




-- 
Yongwei Wu
URL: http://wyw.dcweb.cn/

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to