I was wondering how I can prevent iTerm2 from saving the output from a vim sessions into the scroll back history? This isn't a feature when you are editing confidential files.
ITerm2 : Prevent lines from vim from going into scroll back
iterm
Related Question
- MacOS – OS X copy paste into Terminal adds fdbf bfb9 b083 to beginning and end of selection
- How to show italic in vim in iTerm2
- Prevent iTerm2 from opening new terminal from dock
- Colors are different when SSHing onto a Linux machine from iTerm2. How to standardize them
- Launch terminal program from macOS app
Best Answer
Evidently I have the option Preferences-> Profile-> "Save lines to scrollback in alternate screen mode" checked. Unchecking this feature seems to have stopped this behavior.