News for hackers. Stuff that matters.
Re:New Features in the Fish Shell by brinox on Tuesday September 29, 2020 @02:56PM (#24631555)
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.
Re:New Features in the Fish Shell by grimgrin on Tuesday September 29, 2020 @02:59PM (#24631600)
Does 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 ;)

Re:New Features in the Fish Shell by snazz on Tuesday September 29, 2020 @03:03PM (#24631630)
You 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 :)

Re:New Features in the Fish Shell by miguelmota on Wednesday September 30, 2020 @01:02AM (#24635835)
Is possible to change the keyboard shortcut? Moving fingers from arrow keys and back is definitely slower than hitting ctrl-r
Re:New Features in the Fish Shell by thrwyoilarticle on Wednesday September 30, 2020 @05:29AM (#24636941)
You can use ^p/^n