( solt87 | 2022. 10. 14., p – 17:32 )

COMMAND EXECUTION
    With  execute(...)  action,  you can execute arbitrary commands without leaving fzf.
    For example, you can turn fzf into a simple file browser by binding enter key to
    less command like follows.

        fzf --bind "enter:execute(less {})"

Ez alapján egy-egy parancsot hozzárendelni egy-egy billentyűhöz/billentyűkombóhoz? Pl.

$ ... | fzf --preview "apt show {}" --bind "i:execute(apt install {})" --bind "r:execute(apt remove {})" # N.B. Nem próbáltam, csak ötletelek =)