mirror of
https://github.com/junegunn/fzf.git
synced 2026-02-20 16:48:42 +08:00
Implement word wrapping in the list section
This commit is contained in:
@@ -593,8 +593,11 @@ Highlight the whole current line
|
||||
.B "\-\-cycle"
|
||||
Enable cyclic scroll
|
||||
.TP
|
||||
.B "\-\-wrap"
|
||||
Enable line wrap
|
||||
.BI "\-\-wrap" "[=MODE]"
|
||||
Enable line wrap. \fIMODE\fR can be \fBchar\fR (default) or \fBword\fR.
|
||||
\fBword\fR mode wraps lines at word boundaries (spaces and tabs) instead of
|
||||
at arbitrary character positions. \fB\-\-wrap\-word\fR is a synonym for
|
||||
\fB\-\-wrap=word\fR.
|
||||
.TP
|
||||
.BI "\-\-wrap\-sign" "=INDICATOR"
|
||||
Indicator for wrapped lines. The default is '↳ ' or '> ' depending on
|
||||
@@ -1968,7 +1971,8 @@ A key or an event can be bound to one or more of the following actions.
|
||||
\fBtoggle\-sort\fR
|
||||
\fBtoggle\-track\fR (toggle global tracking option (\fB\-\-track\fR))
|
||||
\fBtoggle\-track\-current\fR (toggle tracking of the current item)
|
||||
\fBtoggle\-wrap\fR \fIctrl\-/\fR \fIalt\-/\fR
|
||||
\fBtoggle\-wrap\fR
|
||||
\fBtoggle\-wrap\-word\fR \fIctrl\-/\fR \fIalt\-/\fR
|
||||
\fBtoggle+down\fR \fIctrl\-i (tab)\fR
|
||||
\fBtoggle+up\fR \fIbtab (shift\-tab)\fR
|
||||
\fBtrack\-current\fR (track the current item; automatically disabled if focus changes)
|
||||
|
||||
Reference in New Issue
Block a user