diff --git a/lib/ex.coffee b/lib/ex.coffee index 49166ec..34ae802 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -467,7 +467,7 @@ class Ex move: ({range, args, editor}) -> args = args.trimLeft() - lastLine = editor.getLastScreenRow() + lastLine = editor.getLastBufferRow() argsPattern = /^[$.]|[+-]\d+|\d+|[+-]/g args = args.match(argsPattern)