This snippet is available using "rafamadriz/friendly-snippets" plugin for Neovim, the snippet system enables me to write begin
then it completes to the exact block you described.
this post was submitted on 11 Mar 2024
12 points (92.9% liked)
Neovim
2169 readers
3 users here now
founded 1 year ago
MODERATORS
Like someone noted in the vimtex issue you linked, I use UltiSnips together with snippet definitions from vim-snippets, which works pretty well with the begin
snippet. vim-snippets
includes a bunch more snippets too which I find quite useful, particularly for LaTeX. I don't know the vsnip
plugins you mentioned but they can probably do the same.
I ended up setting up UltiSnips and using the snippet given in the issue.