3 ms·
If I open an editor then my scrollback history isn't visible (or is in a separate window). Maybe vim and emacs offer this, but that's a big commitment just for
by nicoburns 5y ago
If I open an editor then my scrollback history isn't visible (or is in a separate window). Maybe vim and emacs offer this, but that's a big commitment just for a terminal. Warp has GUI-grade editing (mouse support, etc) with things like multiple cursors in a very nice interface.
- a5aAqU 5y agoCtrl-z will put Vim to sleep. You can look at the history and then type `fg` to bring the Vim back to the foreground.
- mftb 5y agoNormally I would pull the command I need multi-line editing for back from shell history, using the search operator '!' and print predicate ':p' before invoking bash's 'edit-and-execute-command' on it. I suppose while in the editor then I might need history again, but I can't recall it being an issue.
- NoGravitas 5y agoSo does Emacs. I kind of assume vim and neovim do too, these days.
- kreetx 5y agoIn emacs a shell is like a text buffer where you can simply search or move around as you would do in a text file. To get command history you'd just execute `history` and then ctrl+s (find) it, or move to it with the cursor.