Created
April 13, 2012 05:37
-
-
Save unnamedd/2374093 to your computer and use it in GitHub Desktop.
Example .vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" References: | |
" https://sites.google.com/site/bemylifeeasy/Home/vimrc | |
" http://www.vivaolinux.com.br/etc/.vimrc-hackwiz | |
" http://amix.dk/vim/vimrc.html | |
" http://vi-improved.org/vimrc.html | |
call pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
set number | |
set cursorline | |
set ruler | |
set autoindent | |
set showmode | |
set ts=4 | |
set sw=4 | |
set expandtab | |
set softtabstop=4 | |
set title | |
autocmd vimenter * NERDTree | |
autocmd vimenter * if !argc() | NERDTree | endif | |
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment