aboutsummaryrefslogtreecommitdiff
path: root/autoload/scroll_next.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/scroll_next.vim')
-rw-r--r--autoload/scroll_next.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/scroll_next.vim b/autoload/scroll_next.vim
index 8758208..cb40a18 100644
--- a/autoload/scroll_next.vim
+++ b/autoload/scroll_next.vim
@@ -2,8 +2,8 @@
" page forward with PageDown
function! scroll_next#ScrollNext() abort
if line('w$') == line('$')
- silent! next
+ return ":\<C-U>next\<CR>"
else
- execute "normal! \<PageDown>"
+ return "\<PageDown>"
endif
endfunction