rhysd / committia.vim

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

fix definitions for committia-scroll-diff-up/down #53

Closed lesguillemets closed 4 years ago

lesguillemets commented 4 years ago

This is a pull request for issue #51 .

rhysd commented 4 years ago

Thanks for adding this but I fixed #51 not modifying j/k to <C-e>/<C-y>.

rhysd commented 4 years ago

Do you prefer using <C-e>/<C-y> to j/k? If so, please add new maps rather than modifying existing ones.

lesguillemets commented 4 years ago

Hi, thank you for the fix and your kind instructions!

I do prefer <C-e> over j here. However, we can always create mappings on our side, so I have no problem if these mappings are not defined in the plugin itself. (Unless you're actively willing, of course.)

Let me share my rationale, in case it's convincing:

If you find this convenient yourself, we could discuss the name for the mapping (Is <Plug>(committia-scroll-diff-down-line) good?), but you can just close this and make a commit yourself. (Waiting for my commit and merging won't worth the trouble)

Otherwise, please disregard this pull request. Thank you very much for your time.

rhysd commented 4 years ago

Makes sense. Let's use <C-e>/<C-y> instead of j/k. Merging.

lesguillemets commented 4 years ago

Thank you very much!