Skip to content

Commit e69a4fb

Browse files
committed
Plugin delimitMate
Finally, we've made Vim smart enough to insert matching delimiters, like quotes, parentheses, and curly braces, automatically!
1 parent 7fc1cab commit e69a4fb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

vimrc.vim

+14
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Plugin 'vim-scripts/a.vim'
2828
Plugin 'airblade/vim-gitgutter'
2929
Plugin 'tpope/vim-fugitive'
3030

31+
" ----- Other text editing features -----------------------------------
32+
Plugin 'Raimondi/delimitMate'
33+
3134
call vundle#end()
3235

3336
filetype plugin indent on
@@ -119,3 +122,14 @@ nmap <silent> <leader>b :TagbarToggle<CR>
119122
let g:airline#extensions#hunks#non_zero_only = 1
120123

121124

125+
" ----- Raimondi/delimitMate settings -----
126+
let delimitMate_expand_cr = 1
127+
augroup mydelimitMate
128+
au!
129+
au FileType markdown let b:delimitMate_nesting_quotes = ["`"]
130+
au FileType tex let b:delimitMate_quotes = ""
131+
au FileType tex let b:delimitMate_matchpairs = "(:),[:],{:},`:'"
132+
au FileType python let b:delimitMate_nesting_quotes = ['"', "'"]
133+
augroup END
134+
135+

0 commit comments

Comments
 (0)