So I want to disable the arrow keys in insert mode. So I added the following lines at the end of
inoremap <up> <nop> inoremap <down> <nop> inoremap <left> <nop> inoremap <right> <nop>
Now, every time I open a file the following effect happens: The left and right arrow are disabled in insert mode, like they should. The up and down arrows are still working though. Only after
:source ~/.vimrc the up and down arrows are disabled.
Why does this happen? Why aren't the up and down keys disabled automatically right after vim starts?