e4186adc3d
Problem: When pum opened, the mapping of <CR> is triggered but user want the default behaviour: to choose a completion item Solution: Conditional mapping: inoremap <expr><silent><buffer> <CR> pumvisible() ? '<CR>' : ':<Esc>:VimwikiReturn 1 5<Cr>' The previous mapping -----------------^ |
||
---|---|---|
.. | ||
map.vader | ||
search.vader | ||
vader_setup | ||
vader_teardown |