8 ms·
You can just type in anything you'd like as when using Ctrl+R and then just press the up arrow key to perform a fuzzy match in your history.
by brinox 6y ago
You can just type in anything you'd like as when using Ctrl+R and then just press the up arrow key to perform a fuzzy match in your history.
- grimgrin 6y agoDoes fish have its own inputrc ? I'm sure it uses inputrc or similar, giving you a thing like: $if mode=emacs "\e[A": history-search-backward "\e[B": history-search-forward $endif aka, type "fish" and press up arrow to only go through history that starts with "fish" also, how would you configure fish to use something that doesn't lean on arrows? ^r has its own useful power that can be separate from my use-case of arrows mentioned above, if not just bc you don't have to move off the homerow ;)
- snazz 6y agoYou can press ^E to complete the current autocompletion, or keep typing a little more to disambiguate if needed. edit: this originally said ^D, which is EOF, not autocomplete :)
- miguelmota 6y agoIs possible to change the keyboard shortcut? Moving fingers from arrow keys and back is definitely slower than hitting ctrl-r
- thrwyoilarticle 6y agoYou can use ^p/^n