Configuring vim right
items.sjbach.com
items.sjbach.com
set directory=~/.vim/swp//
If you end your settings with double trailing // then vim will automatically use the full path to the file
so editing
/etc/X11/x.org and ~/x.org won't clobber each other in your swap directory.
I still like Emacs more though.
I have copied full .emacs files previously, but it'd be cool to see some snippets somewhere.
It'd be especially nice to see someone's who'd used Vim for 5+ years and then switched so there's setups for maybe Viper, etc.
http://albert.rierol.net/vim_tricks.html
... along with some tips.
[oops misread your comment. My .emacs is here: http://albert.rierol.net/emacs ]
Anyways, that's a great link; although it looks like they need to fix their links to gnu.org. Thanks!
One very (almost overly) comprehensive place to start is at: http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/
Personally I like desert256
Also what version of Vim are you using? If you are using Vim-Tiny for example, it is not compiled with syntax highlighting support. Type :version to see the list of compiled features and look for '+syntax'.
Otherwise it could be your terminal emulator playing up.
Try :set t_Co to see how many colours Vim can recognise in your terminal. Ideally this should return at least '8'. If it doesn't there may be some tips in :h xterm-color.
if has('gui_running')
Maybe its because I have a .vim/syntax/ruby.vim installed. Do you?
sudo rm `which vim`
sudo ln -s `which emacs` /usr/local/bin/vim