Skip to content

Instantly share code, notes, and snippets.

@SyNeto
Last active August 29, 2015 14:01
Show Gist options
  • Save SyNeto/c1d1fe80bc673a179ac9 to your computer and use it in GitHub Desktop.
Save SyNeto/c1d1fe80bc673a179ac9 to your computer and use it in GitHub Desktop.
execute pathogen#infect()
syntax on
filetype plugin indent on
set t_Co=256
set ai
set ts=4
set sts=4
set et
set sw=4
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
set incsearch " Incremental search
set autowrite " Automatically save before commands like :next and :make
set hidden " Hide buffers when they are abandoned
set mouse=a " Enable mouse usage (all modes)
set number
colorscheme desert
autocmd vimenter * NERDTree
autocmd vimenter * if !argc() | NERDTree | endif
map <F2> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
let NERDTreeIgnore = ['\.pyc$']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment