Ctrl+S in fish shell does not work as in bash

372 views Asked by At

Ctrl+S and Ctrl+Q can be used to pause/resume output in bash shell. But in fish shell, it does not work. Are there any replacement?

2

There are 2 answers

0
Kurtis Rader On BEST ANSWER

This is intentional. Fish disables terminal flow control because the original developers concluded the feature causes too many problems for inexperienced CLI users especially those used to emacs where [ctrl-s] is normally bound to the incremental search function and thus might type it at a shell prompt.

0
oranja On

On the upside, the same functionality can be added to your fish shell with a function and a key-binding.

See the following plugins, for example: