This plugin provides syntax highlighting, code snippets
(using snipMate)
based on https://github.com/github/gitignore snippets
and supporing of tComment for .gitignore
files in Vim.
- For using code snippets your must install snipMate
- For more fun try out AutoComplPop
- For commenting/uncommenting install tComment
- 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
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.
For commenting you can use standard tComment <C-_>
keymap.