From: Samir Benmendil Date: Tue, 27 Jan 2015 22:17:53 +0000 (+0000) Subject: vim: configure delimitmate X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/7e085a3a9140f7e5d05918646882565c783e05a9 vim: configure delimitmate --- diff --git a/vim/vimrc b/vim/vimrc index 231ebad..fba48a5 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,7 +43,9 @@ 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' @@ -393,6 +394,10 @@ let g:airline_powerline_fonts = 1 " checkattach {{{2 let g:checkattach_filebrowser = 'ranger' +" delimitmate {{{2 +let delimitMate_expand_cr = 2 +let g:delimitMate_expand_space = 1 + " fswitch {{{2 nnoremap ff :FSHere nnoremap fl :FSRight