From c6ea09e04811093c188ac467c09a8d123927fc48 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Fri, 13 May 2016 20:53:14 -0400 Subject: [PATCH] vundle lol --- .gitignore | 1 + .vimrc | 28 +++++++++++++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..faf34cc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vim/bundle diff --git a/.vimrc b/.vimrc index 3ed68e3..73cd50b 100644 --- a/.vimrc +++ b/.vimrc @@ -6,8 +6,22 @@ set nocompatible set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() -" let Vundle manage Vundle, required -Plugin 'VundleVim/Vundle.vim' + " let Vundle manage Vundle, required + Plugin 'VundleVim/Vundle.vim' + + Plugin 'tpope/vim-fugitive' + Plugin 'tpope/vim-surround' + Plugin 'tpope/vim-rails' + Plugin 'slim-template/vim-slim' + Plugin 'kchmck/vim-coffee-script' + Plugin 'fatih/vim-go' + Plugin 'nanotech/jellybeans.vim' + Plugin 'ervandew/supertab' + +call vundle#end() " required + +filetype plugin indent on " required + set backspace=indent,eol,start set autoindent @@ -60,7 +74,7 @@ if &t_Co > 2 || has("gui_running") syntax on " turns on syntax highlighting set hlsearch " highlights the last searched pattern. set t_Co=256 " enable 256 color mode - " colorscheme jellybeans + colorscheme jellybeans endif if has("autocmd") @@ -128,3 +142,11 @@ nmap n :set nu! " press escape twice to clear highlight search nnoremap :nohlsearch + +" use omnicomplete by default +let g:SuperTabDefaultCompletionType = "" +" close doc window after finishing an autocomplete +let g:SuperTabClosePreviewOnPopupClose = 1 + +" supress go fmt errors on file write +let g:go_fmt_fail_silently = 1