EPISODE · Jul 23, 2014
Using selected text in UltiSnips snippets
from Vimcasts
When UltiSnips is triggered from Visual mode it captures the selection and makes it available to our snippets. We can then insert the selection unchanged with the $VISUAL placeholder, or we can use UltiSnips Python interpolation to transform the text before inserting it back into the document.
Embed this episode
Ready to play
Using selected text in UltiSnips snippets
0:00
0:00
1×
No transcript for this episode yet
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.
Frequently Asked Questions
When was this Vimcasts episode published?
This episode was published on July 23, 2014.
Can I download this Vimcasts episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!