20190630

stupid computer tricks

one of the exciting unix features that has survived the past several decades is the important command to render your terminal useless and force you to start over from last save, ctrl+s.

this default setting is not good, but exciting. strong emotions are evoked whenever switching from inferior operating systems, who program the user’s muscle-memory to hit ctrl+s on save, to places like vim in the terminal, which use <esc>:w.

to eliminate this feature, go to ~/.bashrc:

stty -ixon

turns out ctrl+s also does commandline searching, but only when you turn off the more-important “crash the terminal” feature that’s on by default.

Author: Mike Godfrey

tech in halifax ns

Leave a Reply

Your email address will not be published. Required fields are marked *