I'm trying to make some basic customizations to vim. All I want is some syntax highlighting, etc. Basically, not just plain text.
I have a basic .vimrc file. It shows errors each time vim starts up and no text highlighting. My file consists of 7 lines:
backspace=2
syntax on
filetype indent on
set autoindent
set number
colorscheme desert
set nobackup
Every time I launch vim, I get these errors:
E492: Not an editor command: backspace=2
E484: Can't open file /usr/share/vim/syntax/syntax.vim
For the first error, I have no idea what is wrong, but it probably isn't too tough for someone with some experience. The latter problem just might stem from the fact that I don't have a /usr/share/vim folder. I would have thought that this would have been created when I installed vim. So, what do I do now?
dpkg -l | grep vimsay? – Keith Thompson Nov 24 '11 at 4:09