Activates plugin with <C-j> key combination.

This commit is contained in:
Kamil Wojdyło 2016-10-08 13:02:00 +02:00
parent 1b3a1efb07
commit 9aaba9b668

View File

@ -551,6 +551,7 @@ function! AutoPairsTryInit()
end
" Always silent mapping
execute 'inoremap <script> <buffer> <silent> <CR> '.old_cr.'<SID>AutoPairsReturn'
execute 'inoremap <script> <buffer> <silent> <c-j> '.old_cr.'<SID>AutoPairsReturn'
end
endif
call AutoPairsInit()