Over a million developers have joined DZone.

Beginner’s Vimrc File

· Web Dev Zone

Easily build powerful user management, authentication, and authorization into your web and mobile applications. Download this Forrester report on the new landscape of Customer Identity and Access Management, brought to you in partnership with Stormpath.

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 by Stormpath—offering a complete, pre-built User Management API for building web and mobile applications, and APIs. Download our new whitepaper: "Build Versus Buy: Customer Identity Management for Web and Mobile Applications".

Topics:

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 }}