Skip to content

Ctrl-r for shell history but also bulk select and remove from history #3629

Answered by LangLangBart
rieje asked this question in Q&A
Discussion options

You must be logged in to vote

Caution

Please note that this feature is experimental and should be used with caution. Some
users have reported issues with this feature, so use at your own risk. Additionally, it is not
being actively updated to match the latest changes in the original fzf version, which may result
in missing features or functionality.

This setup requires 3 things:

  • a modified fzf-history-widget
  • the assigned FZF_CTRL_R_OPTS environment variable with a complex keybinding for deletion and
    reloading
  • assigned HISTFILE, HISTSIZE, and SAVEHIST environment variables

Note

The values assigned to FZF_CTRL_R_OPTS can also be incorporated into the modified
fzf-history-widget. However, I found this method simpler t…

Replies: 1 comment 18 replies

Comment options

You must be logged in to vote
18 replies
@Drugoy
Comment options

@LangLangBart
Comment options

@Drugoy
Comment options

@LangLangBart
Comment options

@andrevmatos
Comment options

Answer selected by rieje
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants