<c-h> now behaves the same as <BS>

mean that it will delete the closing parentheses as well
This commit is contained in:
HalFtaN 2013-05-07 21:24:36 +08:00
parent 9617a648c5
commit 6a705983d1

View File

@ -415,6 +415,7 @@ function! AutoPairsInit()
if g:AutoPairsMapBS if g:AutoPairsMapBS
" Use <C-R> instead of <expr> for issue #14 sometimes press BS output strange words " Use <C-R> instead of <expr> for issue #14 sometimes press BS output strange words
execute 'inoremap <buffer> <silent> <BS> <C-R>=AutoPairsDelete()<CR>' execute 'inoremap <buffer> <silent> <BS> <C-R>=AutoPairsDelete()<CR>'
execute 'inoremap <buffer> <silent> <C-H> <C-R>=AutoPairsDelete()<CR>'
end end
if g:AutoPairsMapSpace if g:AutoPairsMapSpace