Posts

Showing posts with the label Snippets

Vim and snippet lists for UltiSnips and other plugins.

Image
ABSTRACT Article about the different collections of snippets designed for different plugins of Vim and the possibility of converting from type of format to another. 1. Preamble 2. Steps for using snippets 3. Local custom snippets. 4. Honza : Why two different collections of snippets ? 5. Overview of both collections. 6. Is it possible to "mix" the snippets of the two collections? 1. Preamble In the article "Vim, UltiSnips and Honza vim-snippets: difference and management of the snippets and UltiSnips folders" I have already covered the topic of snippets and UltiSnips for Vim: This article is a refinement of the previous one, especially from the aspect of syntactic differences and the possibility of "mixing" together various code fragments from the collections of snippets . 2. Steps for using snippets For the introduction part about UltiSnips and Honza vim-snippets I refer to my previous article mentioned above. I briefly...

Vim, UltiSnips and Honza vim-snippets: difference and management of the snippets and UltiSnips folders

Image
What is the subject of this article? In this article I will talk about Vim, snippets powered by SirVer UltiSnip : “ the ultimate solution for snippets in Vim ” and Honza vim-snippets (hereafter also simply referred as “honza”). For some more information you can refer to this previous article of mine . SirVer UltiSnip is a plugin to launch and manage snippets in Vim. The application does not contain snippets but you can create your own by following the plugin syntax or use a collection of ready-made snippets. Honza vim-snippets contains an extensive collection of snippets for various languages. In fact into the Honza GitHub repository you’ll find two separate collections of snippets for the same languages. What’s the difference about them? This is the argument we are going to talk about in this article. All operations were performed on a computer running the GNU/Linux operating system. Honza and the snippets collections In the Honza vim-snippets GitHub repository you will...