rhysd / committia.vim

A Vim plugin for more pleasant editing on commit messages
MIT License
731 stars 30 forks source link

How to trigger the committia #62

Closed LintaoAmons closed 1 year ago

LintaoAmons commented 1 year ago

Hi friend~

I saw in README that type git commit will show the commit buffer?

But seems I can't. And I also tried :Commit<CR>

I also see there's <Plug> to map to a shortcut, but seem there's no one to map to trigger the commit buffer?

rhysd commented 1 year ago

To trigger it manually, run :call committia#open('git') in COMMIT_EDITMSG buffer. You can define your own command if you want as well.