delimitMate plugin

This commit is contained in:
ManjaroOne666 2019-02-22 21:43:35 +00:00
parent 86c7532baf
commit d453f2d98a
1 changed files with 28 additions and 22 deletions

50
vimrc
View File

@ -169,7 +169,7 @@ Plug 'studio-vx/vim-qlist'
Plug 'dylanaraps/wal.vim'
"}}}
" development plugins
if g:vimrc_load_dev_plugins
" #ALE {{{
" https://github.com/w0rp/ale
@ -265,6 +265,12 @@ if g:vimrc_load_dev_plugins
" #css3-syntax{{{
Plug 'hail2u/vim-css3-syntax'
"}}}
" #delimitMate{{{
" https://github.com/Raimondi/delimitMate
Plug 'Raimondi/delimitMate'
let delimitMate_expand_cr = 1
let delimitMate_expand_space = 1
"}}}
" #emmet-vim {{{
" https://github.com/mattn/emmet-vim
@ -1221,27 +1227,27 @@ inoremap <expr> / pumvisible()
"}}}
" brace/quotes completion {{{
inoremap {{ {}<left>
inoremap {<CR> {<CR>}<C-o>O
inoremap {; {<CR>};<C-o>O
inoremap {, {<CR>},<C-o>O
inoremap {{{ {{}}<Left><Left>
inoremap (( ()<Left>
inoremap (<CR> (<CR>)<C-o>O
inoremap (; ();<Left><Left>
inoremap (, (),<Left><Left>
inoremap [[ []<Left>
inoremap [<CR> [<CR>]<C-o>O
inoremap "" ""<Left>
inoremap """ ""
inoremap "; "";<Left><Left>
inoremap '' ''<Left>
inoremap ''' ''
inoremap '; '';<Left><Left>
inoremap `` ``<left>
" inoremap {{ {}<left>
" inoremap {<CR> {<CR>}<C-o>O
" inoremap {; {<CR>};<C-o>O
" inoremap {, {<CR>},<C-o>O
" inoremap {{{ {{}}<Left><Left>
"
" inoremap (( ()<Left>
" inoremap (<CR> (<CR>)<C-o>O
" inoremap (; ();<Left><Left>
" inoremap (, (),<Left><Left>
"
" inoremap [[ []<Left>
" inoremap [<CR> [<CR>]<C-o>O
"
" inoremap "" ""<Left>
" inoremap """ ""
" inoremap "; "";<Left><Left>
" inoremap '' ''<Left>
" inoremap ''' ''
" inoremap '; '';<Left><Left>
" inoremap `` ``<left>
"}}}