Re:A Terminal Case of Linux
by tedunangst on Monday May 29, 2023 @05:39PM
(#36118409)
cat file leaves the contents on my screen as I compose my next shell command, as opposed to erasing them as quitting the editor flips back from the alt screen.
[ Parent
| on HN ]
I sometimes use the following prevent screen clearing when exiting vi:
:set t_te=
Useful because vi makes it more convenient to select the chunk of file I want to view after exiting. More convenient than cat/head/tail at least. Competitive with more. :)