Skip to content
AceofSpades5757 edited this page Nov 2, 2021 · 2 revisions

Some random notes.

Options (:help UltiSnips-snippet-options)

  • b - Beginning of Line

  • w - Word Boundary

  • i - Inline/In-Word

  • s - Remove Whitespace

  • m - Trim All Trailing Whitespace

  • t - Do not expand tabs

  • A - Auto Trigger

  • r - Regex

  • e - Context

Anon

This won't expand the snippet anonomously, but you can try post_jump with snip.expand_anon() or :help UltiSnips#Anon for a Vim function.

Clone this wiki locally