I just switched form Espresso to Vim for my programming work. I'm using the pre-installed version of Vim on my OS X 10.6. I changed the
vimrc file in
" Configuration file for vim set modelines=0 " CVE-2007-2438 " Normally we use vim-extensions. If you want true vi-compatibility " remove change the following statements set nocompatible " Use Vim defaults instead of 100% vi compatibility set backspace=2 " more powerful backspacing set ai " auto indenting set history=100 " keep 100 lines of history set ruler " show the cursor position set number " show line number colorscheme desert syntax on " syntax highlighting set hlsearch " highlight the last searched term filetype plugin on " use the file type plugins " Don't write backup file if vim is being called by "crontab -e" au BufWrite /private/tmp/crontab.* set nowritebackup " Don't write backup file if vim is being called by "chpass" au BufWrite /private/etc/pw.* set nowritebackup
I also copied the desert.vim file to
~/.vim/colors, but vim still is only showing the default colorscheme.
Is this the right stackexchange site for such questions? Or is the Apple Stackexchange site better for such questions?