I wrote a Bash function that with the help of fzf, allows me browse my clipboard history managed by Gpaste cli (gpaste-client), I added a keybind to delete the current selected entry from the history (gpaste-client delete
So the question is, can fzf do this?
No, it's not supported. You'll have to set up --expect key, and handle it in the script that calls fzf, and relaunch fzf with the updated list in a loop.
Most helpful comment
No, it's not supported. You'll have to set up
--expectkey, and handle it in the script that calls fzf, and relaunch fzf with the updated list in a loop.