The vim-snippets repository provides a collection of snippets for Vim, namely for the UltiSnips and snipMate plug-ins.
The following snippets are available for UltiSnips (recommended):
- asciidoc.snippets — Snippets for AsciiDoc. Read more…
- docbk.snippets — Snippets for DocBook XML 4.5. Read more…
- mallard.snippets — Snippets for Mallard XML. Read more…
- rng.snippets — Snippets for the RELAX NG schema language for XML. Read more…
The following snippets are available for snipMate:
- docbk.snippets — Snippets for the DocBook XML language. Read more…
- mallard.snippets — Snippets for the Mallard XML language. Read more…
- rng.snippets — Snippets for the RELAX NG schema language for XML. Read more…
To install all available snippets by using the native package manager introduced with Vim 8, clone this repository in your ~/.vim/pack/*/start/ directory. If this directory does not exist, create it by typing the following at a shell prompt:
install -d ~/.vim/pack/my-plugins/start/
To install all available snippets by using the Vundle plug-in manager, add the following line to your ~/.vimrc:
Plugin 'jhradilek/vim-snippets'
Then run the following command in Vim:
:PluginInstall
Pathogen looks for files in the ~/.vim/bundle/ directory. To make sure that this directory exists, type the following at a shell prompt:
install -d ~/.vim/bundle/
To install all available snippets, change to the ~/.vim/bundle/ directory and clone this repository in it.
- vim-docbk — A syntax file, a filetype plug-in, and omni completion for DocBook 4.5 and 5.0.
- vim-mallard — A syntax file, a filetype plug-in, and omni completion for Mallard 1.0.
- vim-rng — A syntax file, a filetype plug-in, and omni completion for RELAX NG 1.0.
- atom-docbook-snippets — A collection of DocBook snippets for Atom.
- emacs-docbook-snippets — A collection of DocBook snippets for Emacs.
- geany-snippets — A collection of DocBook and Mallard snippets for Geany.
- gedit-snippets — A collection of DocBook and Mallard snippets for Gedit.
Copyright © 2010–2019 Jaromir Hradilek
This program is free software; see the source for copying conditions. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.