Vim gitignore plugin
About
This plugin adds syntax highlighting, code snippets
(using snipMate)
based on https://github.com/github/gitignore snippets
and supporing of tComment for .gitignore
files in Vim.
Requirements
Installation ways
- Using pathogen or vundle from https://github.com/rdolgushin/gitignore.vim
- Standard Vim way from http://www.vim.org/scripts/script.php?script_id=4568
Usage
Snippets
Gitignore.vim contains an usual snipMate snippets. You can use it by
opening your .gitignore
file, typing snippet name (for example, Python
)
and pressing <Tab>
key.
Commenting
For commenting you can use standard tComment <C-_>
keymap.