Platinum Partner
python,tips and tricks,html & xhtml

Beginner’s Vimrc File

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 {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

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

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}