Home > vim > .vimrc config file

.vimrc config file

Here is my vimrc file.Before vim starts, it reads the configuration file .vimrc (if available – not present by default) present in the root folder. vim is heavily customizable and you can even write some scripts within this config file. This very attribute makes it really the best editor for most purposes, specially for programming and scripting purposes. Lets tweak it a bit and make it more happening!

To create or read the existing one do this
$ vim ~/.vimrc
Its advisable to have the package vim-full

To have a look at my .vimrc file visit this url :
Save this txt file and rename it as .vimrc and place it in your root folder.

To get an explanation on each of the line written in the config file visit the following Reference : http://vimdoc.sourceforge.net/htmldoc/help.html

PS : i will elaborate more on some of the features mentioned in the vimrc and also how to create your own colorscheme for your vim editor.

Categories: vim Tags:
  1. Kartik Mohta
    July 21, 2008 at 12:16 pm

    Instead of just “filetype on”, do a “filetype plugin indent on”

    An overview from VIM help:

    command detection plugin indent
    :filetype on on unchanged unchanged
    :filetype off off unchanged unchanged
    :filetype plugin on on on unchanged
    :filetype plugin off unchanged off unchanged
    :filetype indent on on unchanged on
    :filetype indent off unchanged unchanged off
    :filetype plugin indent on on on on
    :filetype plugin indent off unchanged off off

    (and there has to be a better way to format tables in comments!)

  2. September 29, 2008 at 9:11 am

    yeah that might just help.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: