how to create and manage snippets in vim with ultisnips

How to create and manage snippets in Vim with Ultisnips

Snippets are small fragments of reusable code which, in all the major text editors, can be defined, organized and associated to key shortcuts. Although in Vim it is possible to create snippets without using any plugin, Ultisnips provide us extra features and write snippets using a clean and well documented syntax.

Read more

How to set default programs using the Debian alternatives system

How to set default programs using update-alternatives on Debian-based distributions

More often than not, on our Linux system, we can find two or more applications of the same type installed: it is typically the case of text editors, but we can also have multiple web browsers, for example. Setting the default application used to perform a specific task system-wide, however, can sometimes be problematic. To solve this problem, on Debian and Debian-based Linux distributions, we can use the alternatives system and the “update-alternatives” tool.

Read more

Vim Tutorial

VIM tutorial for beginners

The Vim editor (and its predecessor, vi) is a command line editor for Linux systems. It has a long standing reputation as being the most powerful text editor on Linux. After mastering it, many users will even claim that it is far speedier and more convenient to use than a typical GUI editor packed with lots of features in its menus.

Read more

article-main

How to manage Vim plugins natively

Vim is definitely one of the most venerated text editors in the Unix world. Although its learning curve can be pretty steep when accustomed to more traditional text editors, its usage can dramatically improve productivity. A lot of plugins are available for the editor; almost always their source code is hosted on Github or similar platforms based on Git. To manage such plugins, several third-party plugin managers were developed in time, such as Pathogen or Vim-Plug, but since version 8 of the editor, a native way to manage plugins was introduced.

Read more