Over a million developers have joined DZone.
Platinum Partner

Beginner’s Vimrc File

· Web Dev Zone

The Web Dev Zone is brought to you by Stormpath—offering a pre-built Identity API for developers. 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.

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 pre-built, streamlined User Management API for building web and mobile applications. Check out our top pointers for designing your REST API.

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