       true
 
 class MoveDown extends MoveVertically
-  nextValidRow: (count) ->
-    @nextValidRowWithIncrement(count, 1)
+  # Internal: The direction to move the cursor. Use -1
+  # for moving up, 1 for moving down.
+  #
+  # Returns 1
+  directionIncrement: ->
+    1
 
   move: (count) ->
     @editor.moveCursorDown(count)

      row

class MoveUp extends MoveVertically
  nextValidRow: (count) ->
    @nextValidRowWithIncrement(count, -1)

  select: (count=1) ->
    _.times count, =>


class MoveVertically extends Motion
  execute: (count=1) ->
    {row, column} = @editor.getCursorBufferPosition()

    nextRow = @nextValidRow(count)

