Skip to content

Need help converting keymap to new customized popupmenu #3985

Answered by chemzqm
spamwax asked this question in Q&A
Discussion options

You must be logged in to vote
inoremap <silent><expr> <cr> coc#pum#visible() && coc#pum#info()['index'] != -1 ? coc#pum#confirm() :
        \ "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"

Replies: 5 comments 14 replies

Comment options

You must be logged in to vote
3 replies
@spamwax
Comment options

@chemzqm
Comment options

@spamwax
Comment options

Answer selected by chemzqm
Comment options

You must be logged in to vote
1 reply
@chemzqm
Comment options

Comment options

You must be logged in to vote
4 replies
@arthur-zhuk
Comment options

@chemzqm
Comment options

@lemerchand
Comment options

@chemzqm
Comment options

Comment options

You must be logged in to vote
4 replies
@chemzqm
Comment options

@lemerchand
Comment options

@lemerchand
Comment options

@chemzqm
Comment options

Comment options

You must be logged in to vote
2 replies
@fabOnReact
Comment options

@fabOnReact
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants