Georg Dahn wrote:
not sure if this is just me or a bug?
C-X C-O presents a list of completions.
I scroll to the one I want and hit <cr>.
The first item on the list is always inserted?
By hitting 'enter' the highlighted entry was selected some versions
ago. However, there were some problems with this.
Thus, either use <C-N> or <C-P> instead of the cursor keys or use a
mapping of <CR>:
inoremap <CR> <C-R>=pumvisible() ? "\<lt>C-Y>" : "\<lt>CR>"<CR>
It selects the highlighted entry as before. Until now I have had no
problems with this mapping.
Best wishes,
Georg
Thanks Georg,
--
Mark