How to Install and Uninstall vim-snipmate Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 21,2024

1. Install "vim-snipmate" package

Please follow the guidance below to install vim-snipmate on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install vim-snipmate

2. Uninstall "vim-snipmate" package

Please follow the guidance below to uninstall vim-snipmate on Ubuntu 21.10 (Impish Indri):

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

3. Information about the vim-snipmate package on Ubuntu 21.10 (Impish Indri)

Package: vim-snipmate
Architecture: all
Version: 0.87-6
Priority: optional
Section: universe/editors
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Andrea Capriotti
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 93
Depends: vim, vim-addon-manager, vim-tlib, vim-addon-mw-utils
Suggests: vim-snippets
Filename: pool/universe/v/vim-snipmate/vim-snipmate_0.87-6_all.deb
Size: 23056
MD5sum: 98b412315e0fdbbbdb70b233467c1f15
SHA1: 9a8fb279db47731bc42a922471ed817bc750d58a
SHA256: a5436fd4fe915b27b154721ac15898b1e12e0ec6cb1dece0a792e42e1d03dd36
SHA512: 178afcd5bbef5c7d6bcff8d23db95135fd5a6cecb936ba0d5f1cbbd49f0284311c4fc8d86e105e14647aaa4c8f917707c854a63a117825cb6ec5b4458f7a230a
Homepage: https://github.com/msanders/snipmate.vim
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