Snippets with CoC

Install

Make sure you install CoC, I have a video for that here

After setting up CoC you can install with:

Config

You can create a config file and add the following:

Add your own snippets

Edit coc-settings.json and add the following:

After that you can add a file like this:

Commands

You'll be able to notice it's a snippet from the ~ character

Auto complete should feel very familiar, refer to the earlier bindings you set.

To list all snippets for a current file:

Repo Links

coc-snippets

honza/vim-snippets


Tagged in neovim