News for hackers. Stuff that matters.

ASK HN : Learn to write my own .vimrc configuration

- I have been using vim for a sometime and haven't had used ~/.vimrc for configurations

- I see many code samples on Github, but don't actually understand where they came from and what they mean

- I want to start all fresh and understand them, write my own .vimrc configuration and extend it

- Please tell me where shall I start

( 1 comment | on HN )
Re:ASK HN : Learn to write my own .vimrc configuration by russfrank on Monday March 12, 2012 @01:29AM (#3692446)
http://vimbits.com/

http://vim.wikia.com/wiki/Vim_Tips_Wiki

Your .vimrc is essentially just going to be a collection of snippets that you've found that seem to do some good. Many of mine have been taken from other people's dotfiles, from dotfile projects such as

http://skwp.github.com/dotfiles/#section-13-1

and from the sites above. Take a look at the .vimrc of people you might know on github, for example. Here's mine, it's fairly well commented:

https://github.com/russfrank/dotfiles/blob/master/.vimrc