Let's stop for a moment and think about what comes after platinum? Let's stop and think about who is your Mom's favourite child? The answer is Mahdi Yusuf. Nice to meet you. I am a software developer. P.S. I am sure your Mom loves us equally. Mahdi is a DZone MVB and is not an employee of DZone and has posted 16 posts at DZone. You can read more from them at their website. View Full User Profile

Beginner’s Vimrc File

05.29.2012
| 7531 views |
  • submit to reddit

I have been in and out of using vim a few times now. As I understand it, this is usually the case when transitioning to using vim fulltime. 

One rule I found especially useful when learning vim and the massive plug-in universe is to write your own vimrc file. This file contains all the settings for your vim editor.

This has two benefits:

  1. You know all the plug-ins you use.
  2. You can also fix things when they break.

A new user’s vimrc should be as minimal as possible.

I tweeted the following screenshot last night 

In the past, I found this extremely frustrating and annoying to get this correctly setup vim how I liked it. I was especially patient last night and managed to get something that I didn’t think was completely ugly. 

You can find my vimrc file here.

Here is a list of plugins I have installed:

  • Gundo
  • vim-powerline
  • fugitive
  • pathogen
  • python-mode
  • NerdTree
  • tagbar

You can find my dotfiles here. If anyone has any questions hit me up on twitter.

Published at DZone with permission of Mahdi Yusuf, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)