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!
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
Wow, I switched to fish a few months ago, and the items explicitly listed here are exactly some of my sticking points from transitioning from bash. In bash I would use both the multicd and !! operations they describe there, along with control-r and removing them from my muscle memory has been some of the only downsides. I'm excited to see that all three of these are possible to set up here as well.
Could you specify what you mean with bash cross-compatibility? This has been my only gripe after using fish for a long time and why I've been considering switching back to zsh.
Possible to do global history across sessions in fish? I use multiple zsh sessions (as tabs) in iterm2, and love the fact my commands are available across tabs.
not an answer to your question, but an alternative,
whenever I feel that historical command context missing (why does "UP" not give me my command I ran 5 tabs away?!), I run `history merge` and be on my way.
`history merge` can be run manually in Fish to force the current session to pickup the global history, or you can use a small plugin to do it automatically:
As can be seen, this is one of those project pages not intended to be useful to those who have not already become familiar with the subject in some other way.
Apparently this approach is so widely used in order to limit the number of new people that might become interested.
If Fish 3.6.0 were to catch on very widely or god forbid go viral, I can only imagine the maintainer would be as gravely disappointed as could be.
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!