better brace/quote completion
This commit is contained in:
parent
576312e235
commit
4b6ee52aac
13
vimrc
13
vimrc
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue