occivink / kakoune-snippets

Snippet support for kakoune
The Unlicense
48 stars 6 forks source link

Integrate with completion menu #30

Open 0x0f0f0f opened 5 years ago

0x0f0f0f commented 5 years ago

By now I have disabled auto expansion and I've mapped : snippets-menu<ret>/ to a key to have a fast way to open up a snippet search-and-insert menu. Could it be possible to integrate/merge the snippets menu into kakoune autocomplete engine? For example, when I type fo the autocomplete menu could show both the for word/ and the for snippet (that expands when selected with c-n). Haven't yet looked into how autocomplete is implemented, implementing this would be really cool.

andreyorst commented 5 years ago

I think we're asking for the same feature: https://github.com/occivink/kakoune-snippets/issues/21