Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable 'coc-emoji' only in comments #36

Open
hsequeda opened this issue Jul 6, 2020 · 3 comments
Open

Enable 'coc-emoji' only in comments #36

hsequeda opened this issue Jul 6, 2020 · 3 comments

Comments

@hsequeda
Copy link

hsequeda commented Jul 6, 2020

Is there a way to use 'coc-emoji' only in file comments?

@chemzqm
Copy link
Member

chemzqm commented Jul 7, 2020

You can disable trigger characters and create keymapping to trigger it.

@rjshrjndrn
Copy link

@chemzqm Can you please tell how to do that ? couldn't figure out that.

@ashb
Copy link

ashb commented Aug 19, 2022

inoremap <silent> :<C-w> <C-R>=coc#start({'source': 'emoji'})<CR>

And then you type : and hit ctrl-W, then you get emoji completion in any file type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants