reddit / emacs

Any way to use to use Yasnippets in Vterm?

lenins_cats · 2022-11-14 01:12
Sorry I posted and deleted because I accidentally put paredit instead of yasnippet lol. Copy mode doesn't seem to assist at all for calling insert snippet. Would love some suggestions.
xircon · 2022-11-14 10:11
I can't get yasnippets to work either and espanso (text expander) shorcuts do not work either, which is a pain.
StefanKochMicro · 2022-11-14 13:07
According to [Use YASnippets in term and vterm in emacs](https://mullikine.github.io/posts/use-yasnippets-in-term/) The trick is to expand the snippet in a temporary buffer and then insert the contents of that buffer into the terminal using whatever is the insert function for that terminal."