powered by Google

The ultimate Vim configuration (vimrc)

Posted on 16. Jan · Comments [15]
ultimative vim configuration

When searching for vimrc on Google you'll find my vimrc from 2006 in the top 10 results. Unfortunately this vimrc is outdated and it included a lot of garbage.

I am now releasing a new vimrc that I think is the ultimate and that you can use or get inspired by!

My new vimrc can be found here:

If you wish, you can also install my Vim configuration easily (along with some very useful plugins). To install it simply do following:

$ mkdir ~/.vim_runtime
$ svn co svn://orangoo.com/vim ~/.vim_runtime
$ cat ~/.vim_runtime/install.sh
$ sh ~/.vim_runtime/install.sh <system>
  <sytem> can be `mac`, `linux` or `windows`

My Vim configuration includes following plugins:

Happy hacking ;-)

The colorscheme I use is called peaksea and looks like this:

Vim peaksea colorscheme

Like this post? Subscribe to the RSS feed!
15 comments so far

Well done. Nicely put together :)

Yeah, finally a vim configuration with the awesome peaksea colorscheme. Thank you for publishing your useful vimrc. Your configuration reads very similar to the one I'm using. If you are interested -> http://github.com/jceb/vimrc.

Jan:
I am interested and will check it out for inspiration :-)

Daniel:
Thanks ;-)

Thanks, this will be very useful for my own vimrc :)

Unfortunatelly cannot check out SVN repository :/ Could you fix it?

Thanks for sharing. I'll check this out his weekend. Always great to have some inspiration from other vimrcs. (:

I am not able to check it out. Can you look into this when you get a chance? Thank you for sharing.

Thanks for this. Very well formatted. I'm learning a lot just reading through it. I've copied some (maybe most :) of it to my own vimrc.
Btw, MySys() function is not working?

John:
Define it like this:

fun! MySys()
return "mac"
endfun

You can return "mac", "linux", or "windows".

Thank you for sharing.

I seem to be having some funny problems with your vimrc on my Macbook (both with MacVim and the command line vim). When quitting files (whatever way) I have to do so multiple times before they actually close. It seems that the closing tab suddenly becomes a copy of one of the other open tabs. In addition, when closing multiple tabs I successively lose and recover the file menu bar on the right hand side as I do so. Is there a fix for this? Otherwise your vimrc is pretty spiffy.

Was wondering if you have ever tried NERDTree for file exploration. Finding a file not already in the buffer isn't (as far as I can see) enhanced by any of your suggestions.

Still, nice options, I'm going to incorporate some of them. Thanks for sharing.

great! nice nice nice!

I can not checkout from svn://orangoo.com/vim
And I visit http://orangoo.com/vim, that give me "404 Not Found" response.
Some wrong in my network?

I Love IT. Thank You.

Post a comment
Commenting on this post has expired.
© 2000-2009 amix. Powered by Skeletonz.