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

alistaircolling picture alistaircolling  路  3Comments

olethanh picture olethanh  路  3Comments

jan-warchol picture jan-warchol  路  3Comments

leonklingele picture leonklingele  路  3Comments

sandric picture sandric  路  3Comments