set nocompatible " be iMproved syntax enable " Turn on syntax highlighting. set title " Set the terminal's title set ignorecase " Case-insensitive searching. set smartcase " But case-sensitive if expression contains a capital letter. set ruler " Show cursor position. set visualbell " No beeping. set colorcolumn=80 " arbitrary 80 column line syntax on " https://github.com/gmarik/vundle/issues/210 filetype off " required! set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " let Vundle manage Vundle, required Plugin 'gmarik/vundle' " My Bundles here: " " original repos on github " vim-scripts repos " non github repos " git repos on your local machine (ie. when working on your own plugin) " http://wowkhmer.com/2012/04/08/keep-your-vimrc-concise-and-vundle-managing-dependencies/ Plugin 'jnwhiteh/vim-golang' Plugin 'kien/ctrlp.vim' Plugin 'kchmck/vim-coffee-script' Plugin 'scrooloose/nerdtree' Plugin 'msanders/snipmate.vim' Plugin 'mustache/vim-mustache-handlebars' Plugin 'altercation/vim-colors-solarized' Plugin 'tpope/vim-eunuch' " All of your Plugins must be added before the following line call vundle#end() filetype plugin indent on " required! " " Brief help " :PluginList - list configured bundles " :PluginInstall(!) - install(update) bundles " :PluginSearch(!) foo - search(or refresh cache first) for foo " :PluginClean(!) - confirm(or auto-approve) removal of unused bundles " " see :h vundle for more details or wiki for FAQ " NOTE: comments after Bundle command are not allowed.. " " solorized theme syntax enable set background=dark " set background=light colorscheme solarized " Tab width 2 soft :set paste :set expandtab :set tabstop=2 :set shiftwidth=2 set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*/node_modules/* " Set backspace like normal set backspace=indent,eol,start " http://stackoverflow.com/questions/33077429/vim-enters-into-visual-mode-on-selecting-text-after-el-capitan-update :set mouse= " NERDTree shortcut map :NERDTreeToggle filetype plugin indent on " gofmt on save au FileType go au BufWritePre Fmt " au FileType javascript setl tabstop=4 shiftwidth=4 au BufRead,BufNewFile *.mote set filetype=mote au BufRead,BufNewFile *.ejs set filetype=html com! FormatJSON %!python -c "import json, sys; print json.dumps(json.load(sys.stdin), indent=2)"