1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-13 14:57:58 +08:00

perf(guide): use ctrl-d/u instead of ctrl-b/f

This commit is contained in:
wsdjeg 2023-07-02 11:45:01 +08:00
parent d90fdee668
commit 29956c36f2

View File

@ -681,7 +681,7 @@ function! s:winclose() abort " {{{
endfunction " }}} endfunction " }}}
function! s:page_down() abort " {{{ function! s:page_down() abort " {{{
call feedkeys("\<c-c>", 'n') call feedkeys("\<c-c>", 'n')
call feedkeys("\<c-f>", 'x') call feedkeys("\<c-d>", 'x')
redraw! redraw!
call s:wait_for_input() call s:wait_for_input()
endfunction " }}} endfunction " }}}
@ -697,7 +697,7 @@ function! s:page_undo() abort " {{{
endfunction " }}} endfunction " }}}
function! s:page_up() abort " {{{ function! s:page_up() abort " {{{
call feedkeys("\<c-c>", 'n') call feedkeys("\<c-c>", 'n')
call feedkeys("\<c-b>", 'x') call feedkeys("\<c-u>", 'x')
redraw! redraw!
call s:wait_for_input() call s:wait_for_input()
endfunction " }}} endfunction " }}}