Over a million developers have joined DZone.
Platinum Partner

Beginner’s Vimrc File

· Web Dev Zone

The Web Dev Zone is brought to you in partnership with Mendix.  Discover how IT departments looking for ways to keep up with demand for business apps has caused a new breed of developers to surface - the Rapid Application Developer.

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.

The Web Dev Zone is brought to you in partnership with Mendix.  Learn more about The Essentials of Digital Innovation and how it needs to be at the heart of every organization.


Published at DZone with permission of Mahdi Yusuf , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}