Skip to content
Myr

Add current-{fg,bg,hl} as synonyms for {fg,bg,hl}+

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent e8405f4 · Browse files · 2 files+6 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−6 removed

  • other:+6 added−6 removed

2 files+6 added−6 removed

modified:man/man1/fzf.1+3 added-3 removed
466 unmodified lines
467 \fBpreview-fg \fRPreview window text468 \fBbg \fRBackground469 \fBpreview-bg \fRPreview window background470 \fBhl \fRHighlighted substrings471 \fBfg+ \fRText (current line)472 \fBbg+ \fRBackground (current line)471 \fBcurrent-fg (fg+) \fRText (current line)472 \fBcurrent-bg (bg+) \fRBackground (current line)473 \fBgutter \fRGutter on the left474 \fBhl+ \fRHighlighted substrings (current line)474 \fBcurrent-hl (hl+) \fRHighlighted substrings (current line)475 \fBquery \fRQuery string476 \fBdisabled \fRQuery string when search is disabled (\fB--disabled\fR)477 \fBinfo \fRInfo line (match counters)478 \fBborder \fRBorder around the window (\fB--border\fR and \fB--preview\fR)
1091 unmodified lines
modified:src/options.go+3 added-3 removed
978 unmodified lines
979 case "preview-fg":980 mergeAttr(&theme.PreviewFg)981 case "preview-bg":982 mergeAttr(&theme.PreviewBg)983 case "fg+":983 case "current-fg", "fg+":984 mergeAttr(&theme.Current)985 case "bg+":985 case "current-bg", "bg+":986 mergeAttr(&theme.DarkBg)987 case "gutter":988 mergeAttr(&theme.Gutter)989 case "hl":990 mergeAttr(&theme.Match)991 case "hl+":991 case "current-hl", "hl+":992 mergeAttr(&theme.CurrentMatch)993 case "border":994 mergeAttr(&theme.Border)995 case "preview-border":
1633 unmodified lines