aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-11-21 22:25:58 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-11-21 22:25:58 +0100
commit0b867b70434e9dbe508599af83d2a417c741f4c9 (patch)
tree9c76abc82c4b7f754637b91a6df08c3c17cd10bd
parent8391b9788ef83b6b0d8a7134004473854fb89a83 (diff)
downloaddotfiles-0b867b70434e9dbe508599af83d2a417c741f4c9.tar.gz
vim brackets
-rw-r--r--.vim/vimrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index 06c746d..e187f29 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -85,11 +85,11 @@ nmap <silent> gc :tabclose<CR>
nmap <silent> gn :tabnew<CR>:e .<CR>
" Smart brackets
-inoremap " ""<left>
-inoremap ' ''<left>
-inoremap ( ()<left>
-inoremap [ []<left>
-inoremap { {}<left>
+inoremap "" ""<left>
+inoremap '' ''<left>
+inoremap () ()<left>
+inoremap [] []<left>
+inoremap {} {}<left>
inoremap {<CR> {<CR>}<ESC>O
inoremap {;<CR> {<CR>};<ESC>O