This commit is contained in:
ManjaroOne666 2018-06-12 20:12:47 +01:00
parent 04ae09e8d2
commit 2dceef5bd0
1 changed files with 7 additions and 8 deletions

View File

@ -100,24 +100,23 @@ nnoremap <space>qn :cnewer<CR>
" insert mode mappings
"{{{
inoremap RR <c-o>:reg<cr>
inoremap :w<cr> :w<cr>
inoremap [:w<cr> :w<cr>
inoremap {:w<cr> :w<cr>
"}}}
" brace/quotes completion
"{{{
inoremap { {}<left>
inoremap {} {}
inoremap {{ {}<left>
inoremap {<CR> {<CR>}<C-o>O
inoremap {; {<CR>};<C-o>O
inoremap {{ {{}}<Left><Left>
inoremap {{{ {{
inoremap {{{ {{}}<Left><Left>
inoremap ( ()<Left>
inoremap () ()
inoremap (( ()<Left>
inoremap (<CR> (<CR>)<C-o>O
inoremap (; ();<Left><Left>
inoremap [ []<Left>
inoremap [] []
inoremap [[ []<Left>
inoremap [<CR> [<CR>]<C-o>O
inoremap "" ""<Left>