Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.rst

Vim-precocious

Vim-precocious allows you to autocommit files when saving file on predefined circumstances (path of full filename, to be exactly). If you don't want to commit, just leave prompt empty.

Requirements

  • Vim should be compilled with +python support.
  • You sholud have python-git (or libgit2) installed.

Usage

Set g:Precocious_path_parts settings. It should be a list of filename patterns on which commit should done. For example:

" Commit all rst files and all files in project direcory
let g:Precocious_path_parts = ['*.rst', '/home/user/project/*']

It uses python's fnmatch module to check pattern. Don't forget about asterisk in absolute path: /etc/file.txt and etc/*.txt shouldn't match.

About

vim git autocommit

Resources

Releases

No releases published

Packages

No packages published