Skip to content

Instantly share code, notes, and snippets.

@maxsei
Created March 9, 2023 17:13
Show Gist options
  • Select an option

  • Save maxsei/1b66d1804fe91ffcecfd892ad47f4c68 to your computer and use it in GitHub Desktop.

Select an option

Save maxsei/1b66d1804fe91ffcecfd892ad47f4c68 to your computer and use it in GitHub Desktop.
per project vim ultisnip
snip = [[time: `!v strftime("%Y-%m-%dT%H:%M:%S%z")`
category: ${1:Category}
note: ${2:Note}]]
print(vim.fn['UltiSnips#AddSnippetWithPriority']('note', snip, 'datetime, category, and note', 'b', 'yaml', 50))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment