Skip to content

Instantly share code, notes, and snippets.

@foo9
Created April 25, 2013 02:32
Show Gist options
  • Select an option

  • Save foo9/5457102 to your computer and use it in GitHub Desktop.

Select an option

Save foo9/5457102 to your computer and use it in GitHub Desktop.
.vimrc
execute pathogen#infect()
syntax on
filetype plugin indent on
autocmd vimenter * NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
set nocompatible
set fileformats=unix,dos,mac
set title
set number
set showmatch
syntax on
set autoindent
set tabstop=4
set shiftwidth=4
set smartindent
set expandtab ts=4 sw=4 ai
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
set list
set listchars=tab:»-,trail:-,extends:»,precedes:«,nbsp:%
set noswapfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment