Merge pull request #48 from halftan/master

Added key map for <C-H>, #47
This commit is contained in:
Miao Jiang 2013-05-07 10:53:19 -07:00
commit 275b47353f

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