Vimcasts

In each episode, Drew Neil demonstrates one of Vim's features, showing how to incorporate it into your workflow.

http://vimcasts.org

subscribe
share






Using selected text in UltiSnips snippets


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.


fyyd: Podcast Search Engine
share








 July 23, 2014  5m