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 -----------------^ |
||
---|---|---|
.. | ||
DesignNotes.md | ||
entries.png | ||
lists.png | ||
logo.svg | ||
screenshot_1.png | ||
screenshot_2.png | ||
splash.png | ||
todos.png | ||
vimwiki.txt | ||
wiki.png |