Make sure charmbracelet/gum and fzf are installed
mkdir ~/.local/share/bin
curl "https://gist.githubusercontent.com/nyxkrage/c3e97636cfd3f2fc6f823d68c9465722/raw/7c8d1f3b90b69af12009b754cbec35dde63a95c0/convcommit.bash" -o ~/.local/share/bin/convcommit
chmod +x ~/.local/share/bin/convcommit
# cc for convetional commit
git config --global alias.cc "-c core.editor=\"$HOME/.local/share/bin/convcommit\" commit"
Choosing the type of commit
Choosing the scope of the commit, this is based on the previously used scopes for the project, but allows you to also just type a new one
Typing the commit header, this restricts you to 80 characters, to keep the title short, and encourages the use of the body of the commit message
Typing the commit message, this will automatically wrap lines for you at 110 characters once you submit