 
     @vimState.activateCommandMode()
 
+    if @motion.isLinewise?()
+      @editor.moveToPreviousWordBoundary()
+      @editor.moveToFirstCharacterOfLine()
+
 #
 # In visual mode or after `g` with a motion, it makes the selection uppercase
 #


    @vimState.activateCommandMode()

#
# In visual mode or after `g` with a motion, it makes the selection lowercase
#

        text.toLowerCase()

    @vimState.activateCommandMode()

    if @motion.isLinewise?()
      @editor.moveToPreviousWordBoundary()
      @editor.moveToFirstCharacterOfLine()

#
# It copies everything selected by the following motion.
