summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-14 08:39:36 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-14 08:41:50 -0400
commitc82517676ffb0766d4ca2a94128afadf79d963df (patch)
tree7766d01d85c2fcaece5c91168bc838ba2d49cf5f
parent73c512d7ee4af3b4af331462c5c5179cf5397b43 (diff)
downloadconf-c82517676ffb0766d4ca2a94128afadf79d963df.tar.gz
conf-c82517676ffb0766d4ca2a94128afadf79d963df.zip
actually, this shortcut in particular is annoying
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 579ccb9..84e75cb 100644
--- a/vimrc
+++ b/vimrc
@@ -649,7 +649,7 @@ nmap <Bar> \
inoremap { {}<Left>
inoremap {<CR> {<CR>}<Esc>O
inoremap {} {}
-inoremap <expr> } strpart(getline('.'), col('.')-1, 1) == "}" ? "\<Right>" : col('.') == col('$') && match(getline(line('.') + 1), '^\s*}') != -1 ? "\<Down>\<C-o>$" : "}"
+inoremap <expr> } strpart(getline('.'), col('.')-1, 1) == "}" ? "\<Right>" : "}"
inoremap ( ()<Left>
inoremap <expr> ) strpart(getline('.'), col('.')-1, 1) == ")" ? "\<Right>" : ")"
inoremap [ []<Left>