Skip to content

Instantly share code, notes, and snippets.

@unnamedd
Created April 13, 2012 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unnamedd/2374093 to your computer and use it in GitHub Desktop.
Save unnamedd/2374093 to your computer and use it in GitHub Desktop.
Example .vimrc
" 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