Skip to content

jhradilek/vim-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 

Repository files navigation

Snippets for Vim

Description

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…

Installation

Installing the snippets in Vim 8 and newer (recommended)

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/

Installing the snippets using Vundle

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

Installing the snippets using Pathogen

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.

See also

  • 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

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.

About

AsciiDoc, DocBook, Mallard, and RELAX NG snippets for Vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published