Vimcasts podkast

Using selected text in UltiSnips snippets

23.07.2014
0:00
5:13
Do tyłu o 15 sekund
Do przodu o 15 sekund

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.

Więcej odcinków z kanału "Vimcasts"