Skip to content

Instantly share code, notes, and snippets.

@wesrog
Created February 22, 2012 00:49
Show Gist options
  • Save wesrog/1880265 to your computer and use it in GitHub Desktop.
Save wesrog/1880265 to your computer and use it in GitHub Desktop.
call pathogen#infect('~/src/vim/bundle')
syntax on
filetype plugin indent on
set expandtab
set shiftwidth=4
set tabstop=4
set smarttab
set ai "Auto indent
set si "Smart indet
"set wrap "Wrap lines
set nowrap
set encoding=utf-8 fileencoding=utf-8
set nobackup nowritebackup noswapfile autoread
set number hlsearch incsearch ignorecase smartcase
set nocompatible ignorecase incsearch smartcase showmatch showcmd hidden
set statusline=%t[%{strlen(&fenc)?&fenc:'none'},%{&ff}]%h%m%r%y%=%c,%l/%L\ %P%{fugitive#statusline()}
set mouse=a
let NERDTreeIgnore=['\.pyc$']
let mapleader=","
nnoremap <leader>w :set wrap<CR>
nnoremap <leader>nw :set nowrap<CR>
nnoremap <leader>d :NERDTreeToggle<cr>
nnoremap <leader>f :NERDTreeFind<CR>
nnoremap <leader>l :nohlsearch<CR>
nnoremap <leader>o :CtrlPMRU<CR>
nnoremap <leader>f :CtrlP<CR>
map <leader>ba :1,300 bd!<cr> # clears all buffers
"set grepprg=ack\ -a
au FileType html setl ft=jinja
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,.pyc
let g:ctrlp_custom_ignore = '\.pyc'
let g:ctrlp_working_path_mode = 0
set t_Co=256
set background=light
colorscheme solarized
"color ir_black
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment