3 ms·
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
by ronjouch 4y ago
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 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
- halz 4y agoIt 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 https://github.com/PatrickF1/fzf.fish/wiki/Prior-Art