better brace mappings
This commit is contained in:
parent
fbf1ebae93
commit
9040c754a8
|
@ -98,17 +98,17 @@ inoremap RR <c-o>:reg<cr>
|
||||||
|
|
||||||
" brace/quotes completion
|
" brace/quotes completion
|
||||||
"{{{
|
"{{{
|
||||||
inoremap {{ {}<left>
|
inoremap { {}<left>
|
||||||
inoremap {<CR> {<CR>}<esc>O
|
inoremap {<CR> {<CR>}<C-o>O
|
||||||
inoremap {; {<CR>};<esc>O
|
inoremap {; {<CR>};<C-o>O
|
||||||
inoremap }} {{}}<Left><Left>
|
inoremap {{ {{}}<Left><Left>
|
||||||
|
|
||||||
inoremap (( ()<Left>
|
inoremap ( ()<Left>
|
||||||
inoremap (<CR> (<CR>)<esc>O
|
inoremap (<CR> (<CR>)<C-o>O
|
||||||
inoremap (; ();<Left><Left>
|
inoremap (; ();<Left><Left>
|
||||||
|
|
||||||
inoremap [[ []<Left>
|
inoremap [ []<Left>
|
||||||
inoremap [<CR> [<CR>]<esc>O
|
inoremap [<CR> [<CR>]<C-o>O
|
||||||
|
|
||||||
inoremap "" ""<Left>
|
inoremap "" ""<Left>
|
||||||
inoremap "; "";<Left><Left>
|
inoremap "; "";<Left><Left>
|
||||||
|
|
Loading…
Reference in New Issue