0

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?

David542
  • 2,445
  • 14
  • 50

0 Answers0