   linewise: true
 
   moveCursor: (cursor) ->
-    _.times @getCount(1), ->
+    @countTimes ->
       unless cursor.getScreenRow() is 0
         cursor.moveUp()
 

# class SearchBase extends MotionWithInput
class SearchBase extends Motion
  @extend()
  # inclusive: false
  dontUpdateCurrentSearch: false
  complete: false


      startOfTrailingWhitespace.column -= 1
    cursor.setBufferPosition(startOfTrailingWhitespace)

  getCount: ->
    super - 1

  moveCursor: (cursor) ->
    @countTimes ->
      cursor.moveDown()
    @skipTrailingWhitespace(cursor)

