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:
-
vi ~/.vimrc
- Add
set bs=2
- Save and close file
This will set your user to have that option set by default when you edit documents.
Did I help you?
Thank you for the great help