I'm new to Mac (10.15.5) and so far figuring out shortcuts has not been a smooth journey. Usually on Windows I would use these -
Home - Beginning of a line
End - End of line
Ctrl + Home - Beginning of file
Ctrl + End - End of file
and these work for any text editor or application like a terminal. On Mac,
Command + Left arrow - Beginning of line in TextEdit (Fn + left does page up I think)
Fn + Left Arrow - Beginning of line in iTerm (Command + left does nothing)
How do I set universal shortcuts to go to beginning/end of a line/file that works in all apps?