I have just started using vim. Due to that I don't instinctively hit the x/X key to backspace. This causes me problems as the backspace key moves you over as if you were hitting h in command mode. I wanted  to know if there was a way I could disable this so that in command mode the backspace button does nothing. I tried looking this up online and I found this:On some Linux systems, pressing backspace in xterm or uxterm will move  the cursor left (without deleting the character). To fix, add:xterm.*backarrowKey: falseTo your .Xresources file and run:xrdb -merge ~/.Xresourcescredit: http://vim.wikia.com/wiki/Backspace_and_delete_problemsBut it did not change anything.I am running vim on the command line in Bunson labs.Any help you can give me would be great.
How To Disable Backspace in normal mode
key bindings;vimrc;cursor movement
I think you mean you want to remap backspace in normal mode, not command mode. You can do this using :nnoremap <backspace> <nop>. 'nnoremap' allows you to remap keys in normal mode, <backspace> indicates the backspace key and <nop> indicates that it should do nothing.Since you're new to Vim, I would like to point out that you enter these commands in Vim (just press all the keys in the code sections consecutively on your keyboard). The key will be remapped until you close Vim. If you want to permanently disable to key you could add this command as a line to your .vimrc. If you seriously want to start using Vim, I can highly recommend the this tutorial. It covers the basics of Vim script (the language used to customize Vim) and gives you a good overview of the extend to which Vim can be customized. It is a pretty long read though. In general, I have also found the help system of Vim to be very good. Have a look at :help :nnoremap for more info on remapping for example.