Episoden

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...
Using Python interpolation in UltiSnips snippets
UltiSnips can execute Python code and interpolate the result into a snippet. This makes it possible to create snippets that react to the text entered in each field. We’ll look at an example that performs a simple calculation and inserts the result in...
Meet UltiSnips
21.05.2014
Snippets allow you to quickly insert predefined chunks of text into your document. The feature as I know it was first introduced in TextMate, but it has since been emulated by many other editors. For Vim users who want this functionality, the UltiSni...
Swapping two regions of text with exchange.vim
Swapping two regions of text is a common task, which normally requires that we make two separate changes to the document. Tom McDonald's [exchange plugin][exchange] offers an elegant alternative, by providing an operator that swaps two regions of tex...
Using external filter commands to reformat HTML
We can use pandoc as a [filter][] to clean up WYSIWYG-generated HTML. Pandoc is a commandline program, but we can call it from inside Vim either using the [bang Ex command][bang], or by configuring [the `formatprg` option][formatprg] to make the `gq`...

Über diesen Podcast

Regular free screencasts about the Vim text editor.

Kommentare (0)

Lade Inhalte...

Abonnenten

ddeimeke
Grüt (Gossau ZH)
15
15
:
: