Useful configs I've developed over time and use daily.
CTRL+A - Beginning of a line
CTRL+E - End of the line
ALT+F - Move forward one word
ALT+B - Move backwards one word
CTRL+U - Erase everything from the current cursor position to the beginning of the line
CTRL+K - Erase everything from the current cursor position to the end of the line
Use ;
so separate commands as follows:
git add ./*; git commit -m "This is a commit"; git push origin main
Navigate Linux Terminal Faster [https://opensource.com/article/22/11/navigate-linux-terminal-faster]