[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: command to clear screen buffer?
From: |
Bruno Cudini |
Subject: |
Re: command to clear screen buffer? |
Date: |
Sat, 27 Apr 2013 18:21:08 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
On Fri, Apr 26, 2013 at 05:08:45PM -0400, Captain Wiggum wrote:
> Some times I vim a confidential file or a p/w vault.
> Then this clear text info is trapped in my scroll back buffer forever.
> Is there a command to purge the scroll back buffer?
> If not, it seems like a good feature for the next version.
I don't know the answer, I can't think of any command that would do
something like this. But I think the 'altscreen' parameter would help,
at least for Vim.
> altscreen on|off
>
> If set to on, "alternate screen" support is enabled in
> virtual terminals, just like in xterm. Initial setting
> is `off'.
Vim editing would happen in another term, not leaving anything in the
screen buffer.