We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In addition to the recent --list-border (#4148), add options to draw border around the input section of the UI (prompt + info).
--list-border
--input-border
--input-label
--input-label-pos
--border-label
--border-label-pos
git ls-files | fzf \ --preview 'bat --color=always {} --style=numbers' \ --input-border --input-label ' Input ' --preview-label ' Preview '
--header-first
git ls-files | fzf \ --border --padding 1,2 --input-border --list-border --info inline-right \ --border-label ' Demo ' --input-label ' Input ' \ --preview 'bat --color=always {} --style=numbers' \ --bind 'result:transform-list-label: if [[ -z $FZF_QUERY ]]; then echo " $FZF_MATCH_COUNT items " else echo " $FZF_MATCH_COUNT matches for [$FZF_QUERY] " fi ' \ --bind 'focus:transform-preview-label:[[ -n {} ]] && printf " Previewing [%s] " {}' \ --bind 'ctrl-r:change-list-label( Reloading the list )+reload(sleep 2; git ls-files)' \ --color 'border:#cccccc,label:#ffffff'
thinblock
git ls-files | fzf \ --border thinblock --padding 1,2 --input-border thinblock \ --list-border thinblock --info inline-right \ --preview-border thinblock \ --border-label ' Demo ' --input-label ' Input ' \ --border-label-pos bottom --input-label-pos bottom \ --list-label-pos bottom --preview-label-pos bottom \ --preview 'bat --color=always {} --style=numbers' \ --bind 'result:transform-list-label: if [[ -z $FZF_QUERY ]]; then echo " $FZF_MATCH_COUNT items " else echo " $FZF_MATCH_COUNT matches for [$FZF_QUERY] " fi ' \ --bind 'focus:transform-preview-label:[[ -n {} ]] && printf " Previewing [%s] " {}' \ --bind 'ctrl-r:change-list-label( Reloading the list )+reload(sleep 2; git ls-files)' \ --color 'bg:#222222,border:#aaaaaa' \ --color 'preview-bg:#333344,preview-border:#9999cc,preview-label:#ccccff' \ --color 'list-bg:#334433,list-border:#669966,list-label:#99cc99' \ --color 'input-bg:#443333,input-border:#996666,input-label:#ffcccc'
The text was updated successfully, but these errors were encountered:
ee3916b
junegunn
No branches or pull requests
Summary
In addition to the recent
--list-border
(#4148), add options to draw border around the input section of the UI (prompt + info).--input-border
option to draw additional border around the input section--input-label
and--input-label-pos
, similar to--border-label
and--border-label-pos
, for placing label on the new borderObjective
Examples
Basic usage
--input-border
is used--header-first
is ignored when--input-border
is usedWith list border
thinblock
style with different background colorsThe text was updated successfully, but these errors were encountered: