I think it may have something to do with your vi settings. try putting this into vim
Code:
set backspace-indent,eol,start
If you want this to be permanently set in vim, add it to your .vimrc in your home directory.
Also, there might be a default .vimrc file on your hard disk.