Hacker News new | past | comments | ask | show | jobs | submit login

Heads up to fzf users who used to use fzf's Ctrl+R, and would like to now disable it (to use fish's that has syntax highlighting) without disabling the rest of fzf's shell keybindings: I filed https://github.com/junegunn/fzf/issues/3115 , "How to selectively disable Ctrl+R shell keybinding (while NOT disabling Alt+C & others)"

EDIT faho (fish shell maintainer) chimed in the issue and describes how to ask fish to erase the custom binding after fzf keybindings load! I confirm it works :) . Pretty delicious fish. Thanks faho!

    fzf_key_bindings # load fzf shell keybindings normally
    bind --erase \cr # restore built-in-fish>=3.6.0 Ctrl+R history



It may be worth checking the fzf plugin you're using with Fish. There is a more recent+maintained effort[0] that brings an even more delightful feature set, particularly with Ctrl+R/_fzf_search_history

[0] https://github.com/PatrickF1/fzf.fish/wiki/Prior-Art




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: