tommarshall / git-good-commit

Git hook to help you write good commit messages, with no external dependencies.
MIT License
195 stars 33 forks source link

Strange behavior on edit with Neovim #40

Open xaviervalarino opened 2 years ago

xaviervalarino commented 2 years ago

I'm getting strange behavior when I go to edit my commit message. I think read is capturing key codes meant for movement.

https://user-images.githubusercontent.com/4262486/172497034-c0aebfd0-a458-485e-852d-542263e3b9b1.mov

Here is my environment as it relates to line 306 of the script:

$ tty >/dev/null 2>&1 && echo true
true

$ echo $EDITOR
/opt/homebrew/bin/nvim