How to Install and Uninstall vim-snipmate Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: February 24,2025

1. Install "vim-snipmate" package

This tutorial shows how to install vim-snipmate on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install vim-snipmate

2. Uninstall "vim-snipmate" package

Please follow the steps below to uninstall vim-snipmate on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove vim-snipmate $ sudo apt autoclean && sudo apt autoremove

3. Information about the vim-snipmate package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: vim-snipmate
Priority: optional
Section: universe/editors
Installed-Size: 131
Maintainer: Ubuntu Developers
Original-Maintainer: Andrea Capriotti
Architecture: all
Version: 0.87-3
Depends: vim, vim-addon-manager, vim-tlib, vim-addon-mw-utils
Suggests: vim-snippets
Filename: pool/universe/v/vim-snipmate/vim-snipmate_0.87-3_all.deb
Size: 23034
MD5sum: 30ab8791ca1194ef113f7967d746caeb
SHA1: 42896aa50f58d44e8a3a7f3309b652d9c93d97fa
SHA256: 78f4eea982cf90462d92c55ec99518d87cf687e338b8bc2347a72d937888f9d4
Description-en: Vim script that implements some of TextMate's snippets features.
SnipMate.vim aims to be an unobtrusive, concise vim script that implements
some of TextMate's snippets features in Vim. A snippet is a piece of
often-typed text that you can insert into your document using a trigger word
followed by a .
.
For instance, in a C file using the default installation of snipMate.vim, if
you type "for" in insert mode, it will expand a typical for loop in C:
.
for (i = 0; i < count; i++) {
.
}
.
To go to the next item in the loop, simply over to it; if there is
repeated code, such as the "i" variable in this example, you can simply start
typing once it's highlighted and all the matches specified in the snippet will
be updated.
.
snipMate.vim has the following features among others:
.
- The syntax of snippets is very similar to TextMate's, allowing easy
conversion.
- The position of the snippet is kept transparently (i.e., it does not use
marks/placeholders inserted into the buffer), allowing you to escape out
of an incomplete snippet, something particularly useful in Vim.
- Variables in snippets are updated as-you-type.
- Snippets can have multiple matches.
- Snippets can be out of order. For instance, in a do...while loop, the
condition can be added before the code.
Description-md5: b32d99279c72a1dbfce80f206863cd65
Homepage: https://github.com/msanders/snipmate.vim
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu