Skip to content
New issue

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

[FR] Alternative Group Name Display #357

Open
qoomon opened this issue Feb 26, 2023 · 0 comments
Open

[FR] Alternative Group Name Display #357

qoomon opened this issue Feb 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@qoomon
Copy link
Contributor

qoomon commented Feb 26, 2023

Is your feature request related to a problem? Please describe.
The display of all groups as headers is annoying.

Describe the solution you'd like
Display group name as border label see example below:

 echo "alias alias1\nexternal-command value2" | fzf --layout=reverse \
   --with-nth=2 \
   --border=bottom --border-label-pos=1 \
   --bind="focus:transform-border-label(echo ' '{1}' ')"

Display selected group as prompt prefix see example below:

echo "alias alias1\nexternal-command value2" | fzf --layout=reverse \
  --with-nth=2 \
  --bind=",:reload(echo alias alias1)+transform-prompt(echo alias'> ')" \
  --bind=".:reload(echo external-command value2)+transform-prompt(echo external-command'> ')"
@qoomon qoomon added the enhancement New feature or request label Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant