m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 09:03:43 -05:00

Add offset-up and offset-down

# Scrolling will behave similarly to CTRL-E and CTRL-Y of vim
  fzf --bind scroll-up:offset-up,scroll-down:offset-down \
      --bind ctrl-y:offset-up,ctrl-e:offset-down \
      --scroll-off=5

Close #3456
This commit is contained in:
Junegunn Choi
2023-10-11 12:51:05 +09:00
parent 4feaf31225
commit 404b6a864b
4 changed files with 29 additions and 0 deletions

View File

@@ -1157,6 +1157,8 @@ A key or an event can be bound to one or more of the following actions.
\fBhalf-page-down\fR
\fBhalf-page-up\fR
\fBhide-preview\fR
\fBoffset-down\fR (similar to CTRL-E of Vim)
\fBoffset-up\fR (similar to CTRL-Y of Vim)
\fBpos(...)\fR (move cursor to the numeric position; negative number to count from the end)
\fBprev-history\fR (\fIctrl-p\fR on \fB--history\fR)
\fBprev-selected\fR (move to the previous selected item)