Published by nick on 13 Jan 2009 at 10:25 pm
Ultimate vimrc file - Good for php, bash, ruby and others
I’ve built this one up for a few years, and now it’s time to share. Notable features:
- Syntax highlighting
- Test compile for syntax errors. This means that every time you write the file, it will check the file for syntax errors and alert you immediately. This saves much back and forth with development. It works with the following languages:
- php
- bash
- perl
- httpd.conf
- xml
- ruby
- puppet
- javascript (if you have jslint installed)
- Tab completion of php functions (if you download Rasmus’s function list and put it in your home directory.
curl -o ~/.phpfunclist.txt -v http://lerdorf.com/funclist.txt)Ok, enough teasing. The ultimate vimrc file can be found here
gabe on 09 Feb 2009 at 5:56 pm #
I like it! Thanks for sharing Nick, found a few useful tips in there. Here are a few more really useful .vimrc references:
Dav Glass’s .vimrc
http://github.com/davglass/dotvim/blob/0ee695f8e9c5199b49c3a75b014d5a6125268c52/vimrc
Andrei Zmievski’s vim for PHP programmers:
http://gravitonic.com/talks
Hope things are well over on the left coast!