better brace/quote completion

This commit is contained in:
ManjaroOne666 2017-12-16 15:27:57 +00:00
parent 576312e235
commit 4b6ee52aac
1 changed files with 7 additions and 6 deletions

13
vimrc
View File

@ -154,17 +154,18 @@ nnoremap <leader>en :lnext<CR>
" brace/quotes completion " brace/quotes completion
" inoremap {{ {<CR><Tab><CR>}<Up><Right> inoremap {{ {}<left>
inoremap {{ {<CR><CR>}<Up> inoremap {{{ {<CR>}<esc>O
inoremap {{{ {<CR><Tab><CR>};<Up><Right> inoremap {{{; {<CR>};<esc>O
inoremap }} {{}}<Left><Left> inoremap }} {{}}<Left><Left>
inoremap (( ()<Left> inoremap (( ()<Left>
inoremap ((( ();<Left><Left> inoremap ((; ();<Left><Left>
inoremap "" ""<Left> inoremap "" ""<Left>
inoremap """ "";<Left><Left> inoremap ""; "";<Left><Left>
inoremap '' ''<Left> inoremap '' ''<Left>
inoremap ''' '';<Left><Left> inoremap ''; '';<Left><Left>
inoremap [[ []<Left> inoremap [[ []<Left>
inoremap [[[ [<CR>]<esc>O
inoremap ;; ;<esc> inoremap ;; ;<esc>