Here’s a quick tip for those who may use VIM to edit files locally or remotely. If you are having problems getting your backspace to work (I.E. backspace doesn’t work at all in VIM), then the following tip is for you.

I found out that this is really easy to fix. When you edit a document, type in the following:

:set bs=2

Then hit enter. Now try to use your backspace key while in insert mode.

Once you confirmed that this works for you, add this option to your .vimrc file:

  1. vi ~/.vimrc
  2. Add
    set bs=2
  3. Save and close file

This will set your user to have that option set by default when you edit documents.

Did I help you?