diff --git a/plugin/auto-pairs.vim b/plugin/auto-pairs.vim index 28266e8..b743668 100644 --- a/plugin/auto-pairs.vim +++ b/plugin/auto-pairs.vim @@ -1,7 +1,7 @@ " Insert or delete brackets, parens, quotes in pairs. " Maintainer: JiangMiao -" Last Change: 2011-09-06 -" Version: 1.1.1 +" Last Change: 2011-12-07 +" Version: 1.1.2 " Homepage: http://www.vim.org/scripts/script.php?script_id=3599 " Repository: https://github.com/jiangmiao/auto-pairs @@ -165,7 +165,7 @@ function! AutoPairsReturn() if g:AutoPairsCenterLine && winline() * 1.5 >= winheight(0) let cmd = " \zz\cl" end - return "\\".cur_char."\=ko".cmd + return "\\".cur_char."\k==o".cmd end return "\" endfunction