4 ms·
It drives me batty that terminals don’t have a trivial way to “scroll to last command”.
by forrestthewoods 2y ago
It drives me batty that terminals don’t have a trivial way to “scroll to last command”.
- arusahni 2y agoSome do! For example, I used Wezterm, and it offers that capability [1]. [1]: https://wezfurlong.org/wezterm/config/lua/keyassignment/ScrollToPrompt.html https://wezfurlong.org/wezterm/config/lua/keyassignment/Scro...
- jdoss 2y agoWoah! Thanks for pointing this feature out. This will be super handy to skip large amounts of output.
- abathur 2y agoTerminal.app on macOS can do this with Command + up-arrow. (IIRC this is technically just a hotkey for navigating marks or bookmarks or something, and it (book)marks each command.
- meatmanek 2y agoiTerm has this if you install the shell integration[1], which basically puts an escape code in your PS1 that tells iTerm where each command begins and ends. 1. https://iterm2.com/documentation-shell-integration.html https://iterm2.com/documentation-shell-integration.html