set bg=dark set et set fdm=marker set hidden set incsearch set nocp set nohlsearch set nowrap set nu set rtp+=~/.vim/bundle/vundle/ set sessionoptions=curdir,buffers,tabpages set smartindent set sts=4 set sw=4 set tags=tags;/ set ts=4 set tw=120 colorscheme solarized call vundle#rc() Bundle 'gmarik/vundle' Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} Bundle 'scrooloose/nerdcommenter' Bundle 'scrooloose/nerdtree' Bundle 'tpope/vim-surround' Bundle 'godlygeek/tabular' Bundle 'slack/vim-bufexplorer' Bundle 'Townk/vim-autoclose' Bundle 'msanders/snipmate.vim' Bundle 'fugitive.vim' Bundle 'altercation/vim-colors-solarized' filetype indent plugin on set ofu=syntaxcomplete#Complete let mapleader = "," nmap nt :NERDTreeToggle nmap h nmap j nmap k nmap l :au BufEnter,BufWinEnter,CursorHold filename :checktime :au BufNewFile,BufRead *.less set filetype=less if has("autocmd") augroup myvimrchooks au! autocmd bufwritepost .vimrc source ~/.vimrc augroup END endif