💻 Software
How to replace vim screen buffer with previous bash activity after quitting?
Fresh5 days ago
Mar 15, 20268928 viewsConfidence Score0%
0%
Problem
I'm trying to find out what a bash (or vim) feature is. Here's the scenario. I'm in a bash terminal, then edit something with vim, then exit back to bash. In some terminals, the vim session screen disappears to show the previous bash shell activity ( this is what I want? ). In others, the vim sessi…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to replace vim screen buffer with previous bash activity after quitting?
Low Risk
Vim sends and to the terminal when a session is started and and when it ends. The and sequences cause the terminal to switch to its alternate screen. In your file you can make leave the document on screen when it exits by including this line: if you…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix