My keyboard has z and y switched compared to US keyboards, which makes pressing C-y
for completions pretty awkward. I tried adding
imap <expr> <C-z> pumvisible() ? "<C-y>" :"<C-z>"
based on some examples I found but it doesn't seem to work in the popupmenu. How can I map C-z
to accept completions?
vim -u NONE
(ornvim -u NONE --noplugin
)? You could also tryinoremap
to prevent any potential recursive mappings.coc.nvim
switched to their own completion menu and I was using that ...