Backspacing in vim (OSX)

A quick tip for those using vim on their OSX terminal. If you’re trying to figure out why you can’t backspace and remove characters from vim, you’d need to add the following in your ~/.vimrc

set backspace=indent,eol,start

That should allow you to now delete previous characters with your ‘backspace’ (delete) key :)

References:

[1] http://stackoverflow.com/questions/3534028/mac-terminal-vim-will-only-use-backspace-when-at-the-end-of-a-line
[2] http://blog.edogg.com/index.php?/archives/19-How-to-fix-the-backspace-keep-in-vim-on-OS-X.html