summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <smadurange@users.noreply.github.com>2021-10-31 12:13:44 +0800
committerSadeep Madurange <smadurange@users.noreply.github.com>2021-10-31 12:13:44 +0800
commit0745e43a037d9551950381b33aa518be5561afaf (patch)
tree9c49e46c1e05061bca97e10d723859130c521331
parentd0a818086cb594a5ba3abed3b0d65046e2ff8713 (diff)
downloaddotfiles-0745e43a037d9551950381b33aa518be5561afaf.tar.gz
Auto complete parentheses and strings.
-rw-r--r--.vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 1e0e327..b38c80f 100644
--- a/.vimrc
+++ b/.vimrc
@@ -7,3 +7,11 @@ syntax on
set background=dark
colorscheme murphy
+
+inoremap " ""<left>
+inoremap ' ''<left>
+inoremap ( ()<left>
+inoremap [ []<left>
+inoremap { {}<left>
+inoremap {<CR> {<CR>}<ESC>O
+inoremap {;<CR> {<CR>};<ESC>O