How To Install vim-voom on Ubuntu 20.04

In this tutorial we learn how to install vim-voom on Ubuntu 20.04. vim-voom is Vim two-pane outliner

Introduction

In this tutorial we learn how to install vim-voom on Ubuntu 20.04.

What is vim-voom

vim-voom is:

VOoM (Vim Outliner of Markups) is a plugin for Vim that emulates a two-pane text outlineer.

The following markup modes are available:

  • fmr(Default Mode) – Start fold markers with levels: {{{1, {{{2, {{{3, etc. Headline text is before the marker.
  • fmr1, fmr2 fmr3 – start fold markers with levels. Variations of the default mode.
  • wiki – MediaWiki, headlines are surrounded by ‘=’;
  • vimwiki – vimwiki plugin
  • viki – Viki/Deplate plugin
  • dokuwiki – DokuWiki;
  • org – Emacs Org-mode;
  • rest – reStructuredText section titles;
  • markdown – Markdown headers, both Setext-style and Atx-style;
  • pandoc – Pandoc Markdown;
  • hashes – #, ##, ###, etc. (Atx-style headers, a subset of Markdown format);
  • txt2tags – txt2tags titles and numbered titles;
  • asciidoc – AsciiDoc document and section titles, both styles;
  • latex – LaTeX sectioning and some other commands;
  • latexDtx – Same as LaTeX but for .dtx files (Documented LaTeX sources).
  • taskpaper – TaskPaper
  • thevimoutliner – The Vim Outliner plugin
  • vimoutliner – VimOutliner plugin
  • cwiki
  • inverseAtx – inverse Atx-style headers;
  • html – HTML heading tags, single line only;
  • python – Python code browser, blocks between ‘class’ and ‘def’ are also nodes.
  • paragraphBlank, paragraphIndent, paragraphNoIndent – For working with paragraphs. Handy for sorting blocks of lines.

There are three methods to install vim-voom on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install vim-voom Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install vim-voom using apt-get by running the following command:

sudo apt-get -y install vim-voom

Install vim-voom Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install vim-voom using apt by running the following command:

sudo apt -y install vim-voom

Install vim-voom Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install vim-voom using aptitude by running the following command:

sudo aptitude -y install vim-voom

How To Uninstall vim-voom on Ubuntu 20.04

To uninstall only the vim-voom package we can use the following command:

sudo apt-get remove vim-voom

Uninstall vim-voom And Its Dependencies

To uninstall vim-voom and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove vim-voom

Remove vim-voom Configurations and Data

To remove vim-voom configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge vim-voom

Remove vim-voom configuration, data, and all of its dependencies

We can use the following command to remove vim-voom configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge vim-voom

References

Summary

In this tutorial we learn how to install vim-voom package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.