LinusU / emoji-commit

44 stars 6 forks source link

Option to add commit body text #7

Closed albinekb closed 3 years ago

albinekb commented 6 years ago

It would be nice if emoji-commit allowed you to add a commit body text too, the way I imagine it, after entering the short commit message, you'd press alt/shift+enter and open your $EDITOR on the correct line.

To open the editor on the correct line, we will need a separate rust lib to handle the different ways editors enable this, for example, this is how you do it i VS Code

LinusU commented 6 years ago

vim: https://stackoverflow.com/questions/3313418/starting-vim-at-a-certain-position-line-and-column-of-a-file