diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-06-14 08:39:36 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-06-14 08:41:50 -0400 |
commit | c82517676ffb0766d4ca2a94128afadf79d963df (patch) | |
tree | 7766d01d85c2fcaece5c91168bc838ba2d49cf5f | |
parent | 73c512d7ee4af3b4af331462c5c5179cf5397b43 (diff) | |
download | conf-c82517676ffb0766d4ca2a94128afadf79d963df.tar.gz conf-c82517676ffb0766d4ca2a94128afadf79d963df.zip |
actually, this shortcut in particular is annoying
-rw-r--r-- | vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |