Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Customizable commit messages #11

Open
qwinters opened this issue Jan 23, 2022 · 1 comment
Open

FR: Customizable commit messages #11

qwinters opened this issue Jan 23, 2022 · 1 comment

Comments

@qwinters
Copy link

For those of us that use semantic commit to generate changelogs / keep track of things, it's often helpful to have template-able commits for sync operations

Minimal viable version can be achieved by just allowing people to include a prefix for the current commit message (e.g. chore: Auto commit...)

I don't have a lot of bandwidth atm, but can take this on in the semi-near future and PR

@michal-h21
Copy link
Owner

@qwinters That's a good idea! And it was easy to implement, so it is now possible to use:

  let g:vimwiki_sync_commit_message = 'Auto commit + push. %c'

The whole string is passed to the strftime function, so you can use any date and time format you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants