I am trying to disable the arrow keys in the vimrc (previously I was doing it by doing a no-op on the keyboard itself):
"Disable arrow keys inoremap <Left> <Nop> However, it seems to be doing nothing, as it seems like the actual keyboard code sent for an arrow key (using insert, ctrl-v) is:
^[OD So, is there a way to disable the arrow keys from within vim? Or does this need to be done outside it?
noremap <Up> <Nop>, and wondering why that's not working, etc.<c-o>echo "Nice try!"<cr>inoremap <Left> <Nop>works for me in terminal and gui in Vim 8.2 (linux).