Little tricks for vim.
Add the following to your .vimrc:
:if !exists("autocommands_loaded")
: let autocommands_loaded = 1
: augroup filetypedetect
: au! BufNewFile,BufRead [pattern to replace]
: au BufNewFile,BufRead [pattern to replace] setf [filetype]
:endif
:if !exists("autocommands_loaded")
: let autocommands_loaded = 1
: augroup filetypedetect
: au! BufNewFile,BufRead *.lib
: au BufNewFile,BufRead *.lib setf c
:endif
a) Make sure you're not in compatible mode, :set cp? should say
nocompatible
b) Check your 'backspace' setting. :set bs=2 should allow you to
backspace normally in insert mode.