better brace mappings

This commit is contained in:
ManjaroOne666 2018-05-08 21:35:14 +01:00
parent fbf1ebae93
commit 9040c754a8
1 changed files with 8 additions and 8 deletions

View File

@ -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>