Skip to content

About

A nvim plugin for auto commit file in git repo when file modify and save(:w)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim git auto commit

When a file in git repo is modified pretty much, It is helpful to commit it to git autoly. This plugin is launched for this purpose, just plug and use, zero config.

install

  1. vim-plug

    Plug 'authendic/vim-template', {'branch': 'release'}

config

  1. Zero Config, plug and use

    By default, file type like *.md and *.vim will be autocommited , since the file must be in git repo

  2. disabling autocommit

    let g:git_auto_commit_disable = 1
  3. auto commit file types

    let g:git_auto_commit_file_types = ['*.md', '*.vim']
  4. auto commit message

    let g:git_auto_commit_message = 'auto commit'
  5. threshod for control commit frequency

    " 5 row added, trigger a commit
    let g:git_auto_commit_modify_lines_threshold = 5

have fun

About

A nvim plugin for auto commit file in git repo when file modify and save(:w)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages