Fzf: Remove entry from list using a keybind

Created on 31 Aug 2017  路  1Comment  路  Source: junegunn/fzf

  • Category

    • [ ] fzf binary

    • [ ] fzf-tmux script

    • [x] Key bindings

    • [ ] Completion

    • [ ] Vim

    • [ ] Neovim

    • [ ] Etc.

  • OS

    • [x] Linux

    • [ ] Mac OS X

    • [ ] Windows

    • [ ] Windows Subsystem for Linux

    • [ ] Etc.

  • Shell

    • [x] bash

    • [ ] zsh

    • [ ] fish

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 ), this works fine, but I also want to remove the same entry from fzf too.

So the question is, can fzf do this?

question

Most helpful comment

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.

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sbrl picture sbrl  路  23Comments

erch picture erch  路  70Comments

wavded picture wavded  路  19Comments

tmpm697 picture tmpm697  路  26Comments

netei picture netei  路  29Comments