Yes navigating via muscle memory is way better on macOS because per word cursor movement is supported.
And terminal has ctrl+a and ctrl+e. My mnemonics: A is for Anfang (german: start, beginning), e is just End.
On windows I was confused as to whether Pos1/End gets me to file ending, or line ending. I think it's the first, unless you hit a modifier key.