   scrolloff: 2
   defaultCount: 0
 
-  getCount: ->
-    super - 1
-
   moveCursor: (cursor) ->
     cursor.setBufferPosition(@getPoint())
 

    row = getFirstVisibleScreenRow(@editor)
    offset = @getScrolloff()
    offset = 0 if (row is 0)
    offset = Math.max(@getCount(), offset)
    row + offset

# keymap: M

    row = Math.min(@editor.getLastVisibleScreenRow(), vimLastScreenRow)
    offset = @getScrolloff() + 1
    offset = 0 if row is vimLastScreenRow
    offset = Math.max(@getCount(-1), offset)
    row - offset

# Scrolling
