     "G": "forward documentboundary"
     "g": "backward documentboundary"
     "w": -> @moveForwardWord()
-    "Y": -> @selectLine()
+    "Y": -> @selectLexicalEntity "lineboundary"
     "o": -> @reverseSelection()
 
   constructor: (options) ->

      "V": -> new VisualLineMode extend @options, initialRange: @selection.getRangeAt(0).cloneRange()
      "y": ->
        # Special case: "yy" (the first from edit mode, and now the second).
        @selectLine() if @options.yYanksLine and @keyPressCount == 1
        @yank()

    if @options.underEditMode
      extend @commands,
        "c": -> @yank(); enterInsertMode()
        "d": ->
          # Special case: "dd" (the first from edit mode, and now the second).
          @selectLine() if @options.dYanksLine and @keyPressCount == 1
          @yank deleteFromDocument: true

    unless @options.underEditMode
      @installFindMode()

      "v": -> new VisualMode underEditMode: true

      "Y": -> @enterVisualMode runMovement: "Y"
      "x": -> @enterVisualMode runMovement: "h", deleteFromDocument: true
      "y": => @enterVisualMode yYanksLine: true
      "d": => @enterVisualMode deleteFromDocument: true, dYanksLine: true
      "c": => @enterVisualMode deleteFromDocument: true, onYank: enterInsertMode
