last commit also sneaked it implementation for g (top of document) and this one has G (bottom of document)