5 ms·
Even on a good console I put a # at the start of the line before editing or typing it in case I accidentally hit Enter too soon. And never ever paste commands
by foobarian 8y ago
Even on a good console I put a # at the start of the line before editing or typing it in case I accidentally hit Enter too soon.
And never ever paste commands without first trying it into a trash terminal or editor.
- craftyguy 8y agoThat's an interesting technique that I've never heard of. Do you have fast shortcuts/keybindings for removing the # when you are ready, or is it '(left arrow x N) + ^H' each time?
- scarejunba 8y ago^A ^D
- foobarian 8y ago^A ^D it is. But since you bring up moving the cursor, it also is very helpful to 'xset r rate 160 80' to speed it up substantially in Xwindows.
- craftyguy 8y agoI assume (by trying on zsh) that this is a configuration change you made vs. some keybinding I've yet to discover?
- juki 8y agoThose are Emacs style keybindings, which are the default on most shells. You've probably switched to Vi style bindings in zsh.
- adrianN 8y agohttps://dwmkerr.com/effective-shell-part-1-navigating-the-command-line/ https://dwmkerr.com/effective-shell-part-1-navigating-the-co...
- dredmorbius 8y agoReadline bindings, emacs mode. Despite (mostly) using vim as an editor, it's got to be emacs on the shell itself.
- boterock 8y agoIn windows what I do is Home->Delete I am amazed at how useful home, end pgup and pgdown keys are, and I am pretty sure not many people know or use them a lot.