[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question Regarding Navigating the Buffer

From: Daniel Patrick Sullivan
Subject: Re: Question Regarding Navigating the Buffer
Date: Tue, 23 Nov 2010 13:36:45 +0000 (UTC)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)


Thanks for your reply. No, it does not work. Immediately when I hit g the cursor position goes to the first line of the buffer. If I subsequently hit ^ nothing much seems to happen.


On Tue, 23 Nov 2010, Kevin Van Workum wrote:

Does "g^" do what you want? That should put the cursor on the first 
non-whitespace char in the buffer.

On Mon, Nov 22, 2010 at 8:55 AM, Daniel Patrick Sullivan <address@hidden> wrote:
      Hi, Everyone,

      I have a quick question with respect to navigating screens buffer. 
Basically I work with embedded systems and often have to block and copy more 
than a single screens worth of text to the
      buffer to attach to tickets or send to customers, etc.  I'd like to be 
able to copy and paste this text using the screen's native capabilities.

      My problem is that when I enter the buffer and type "g" to go to the top, it 
actually goes to the top of the buffer, not to the first non-whitespace character in the 
buffer".  I basically
      want to copy the entire buffer starting with the first non-whitespace 
character.  Is there a way to navigate to the first non-whitespace character in 
the buffer, or am I best just copying
      the entire buffer and figuring out how to strip out the leading 
whitespace later?



      screen-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]