3 ms·
I found Ctrl-O (execute current command from history and edit the next one) to be invaluable. Ctrl-V: type next input literally (e.g. Ctrl-V [Tab] if you don't
by currysausage 12y ago
I found Ctrl-O (execute current command from history and edit the next one) to be invaluable.
Ctrl-V: type next input literally (e.g. Ctrl-V [Tab] if you don't want [Tab] to autocomplete).
Alt-#: Prefix current line with "#" (don't execute it) and put it into history for later use.
I'm sometimes surprised how many people don't know these: Ctrl-U/K: kill line before/after cursor.