Skip to content

Commit 2fe0507

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 1e5757e commit 2fe0507

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

vimrc.vim

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ Plugin 'vim-scripts/a.vim'
2727
Plugin 'airblade/vim-gitgutter'
2828
Plugin 'tpope/vim-fugitive'
2929

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

3235
filetype plugin indent on
@@ -114,3 +117,14 @@ hi clear SignColumn
114117
let g:airline#extensions#hunks#non_zero_only = 1
115118

116119

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

0 commit comments

Comments
 (0)