" Check visibility of last line and flick to :next if appropriate, or just " page forward with PageDown function! scroll_next#ScrollNext() abort if line('w$') == line('$') silent! next else execute "normal! \" endif endfunction