4 ms·
C-a seems to be quite a common prefix, but as you said, it conflicts with the beginning-of-line command. I’ve been quite happy with C-s so far; if it conflicts
by spinningarrow 9y ago
C-a seems to be quite a common prefix, but as you said, it conflicts with the beginning-of-line command. I’ve been quite happy with C-s so far; if it conflicts with something, I have no idea.
- lloeki 9y ago^S is XOFF of software control flow fame. You shouldn't need to worry about it though.
- mi100hael 9y agoIt's a common prefix because it's what gnu-screen uses by default, which is what everyone was using for 20 years before tmux came along.
- barrkel 9y agoC-s searches forward where C-r searches backwards, if you're used to using C-r to retrieve an earlier command via incremental search. If not otherwise configured with stty, it's frequently set up for control flow along with C-q. If you find your terminal freezes after typing C-s, C-q will unfreeze it. Disable with: stty -ixon start undef stop undef
- spinningarrow 9y agoThanks, I didn’t know that! I use the fish shell, which does history searching differently but this is useful for those few times when I’m in bash.