This is an effort to create a propper snippets manager for vis_, eventually as a replacement for vim's UltiSnips or something of that kind. Originally based on https://src.adamsgaard.dk/dotfiles/file/.config/vis/plugins/snippets.lua.html by Anders Damsgaard (https://src.adamsgaard.dk/). That file has not been licensed, but I hope the MIT/X11 license does not offend anybody. Eventual dream goal is to be compatible with the Honza’s vim-snippets_. After installation to ``~/.config/vis/plugins/vis-snippets`` Add definition of snippets in this style:: snip = require('plugins/vis-snippets') snip.snippets = { fdup = '%python_expand %fdupes %{buildroot}%{$python_sitelib}', nopy = '%define skip_python2 1', patch = [[ # PATCH-{FIX|FEATURE}-{OPENSUSE|SLE|UPSTREAM} name-of-file.patch bsc#[0-9]+ mcepl@suse.com # this patch makes things totally awesome Patch0: <1> ]] } snip.init() .. _vis: https://github.com/martanne/vis .. _vim-snippets: https://github.com/honza/vim-snippets