X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/430f4e8aee8c473becee195ec94c489f51905edb..cf5a775d1e2cc46b00f5d16bb52b441396fa16ba:/vim/vimrc?ds=sidebyside diff --git a/vim/vimrc b/vim/vimrc index ab8b569..e1e5a29 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -28,7 +28,6 @@ Plugin 'scrooloose/syntastic' Plugin 'sirver/ultisnips' Plugin 'sjl/gundo.vim' Plugin 'tomtom/tcomment_vim' -Plugin 'tpope/vim-endwise' Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-repeat' Plugin 'tpope/vim-surround' @@ -44,9 +43,13 @@ Plugin 'derekwyatt/vim-fswitch' " Plugin 'jalcine/cmake.vim' " Plugin 'powerman/vim-plugin-viewdoc' +" endwise needs to be after delimitmate Plugin 'raimondi/delimitmate' +Plugin 'tpope/vim-endwise' Plugin 'lokaltog/vim-easymotion' Plugin 'chrisbra/checkattach' +Plugin 'klen/python-mode' +Plugin 'nathanaelkane/vim-indent-guides' " remove entries first set runtimepath -=$HOME/.vim @@ -391,8 +394,9 @@ let g:airline_powerline_fonts = 1 " checkattach {{{2 let g:checkattach_filebrowser = 'ranger' -" Gundo {{{2 -nnoremap :GundoToggle +" delimitmate {{{2 +let delimitMate_expand_cr = 2 +let g:delimitMate_expand_space = 1 " fswitch {{{2 nnoremap ff :FSHere @@ -412,6 +416,16 @@ nnoremap gc :tab Gcommit -v nnoremap ga :Gwrite nnoremap gb :Gblame +" Gundo {{{2 +nnoremap :GundoToggle + +" indent-guides {{{2 +let g:indent_guides_default_mapping = 0 +let g:indent_guides_guide_size = 1 +nmap cog IndentGuidesToggle +nmap [og IndentGuidesEnable +nmap ]og IndentGuidesDisable + " NERDTree {{{2 " open/close NERDTree with \e nmap e :NERDTreeToggle @@ -421,6 +435,12 @@ let NERDTreeMapActivateNode='l' " close vim if only NERDTree is open autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif +" python-mode {{{2 + +let g:pymode_rope_completion = 0 +let g:pymode_rope = 0 +let g:pymode_folding = 1 + " synastic {{{2 let g:syntastic_enable_highlighting = 0 let g:syntastic_error_symbol='E'