Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

In vim, there's a CtrlV to do block selection.
How can I do it in screen?

share|improve this question
add comment

2 Answers 2

up vote 7 down vote accepted

Assuming you already know how to use Space to do normal selection in screen's copy mode, the only new keys you need are c to set the left margin, and C to set the right margin.

This is described in the screen manual.

share|improve this answer
add comment

Selection for copy: Ctrl+A [

Copy current selection (First to select start corner, second to copy selected area): Enter

Cancel current selection: Esc

Paste into screen: Ctrl+A ]

share|improve this answer
    
Why was this downvoted? Even according to the accepted answer's link, this is correct. –  Izkata Dec 26 '11 at 17:38
    
I wasn't the downvoter but I imagine the reason was because this answer does not address the question of how to do block-wise selection, which is the reason I felt the need to post a 2nd answer in the first place. –  jw013 Dec 26 '11 at 17:47
    
Aha, I suppose that's what I get for not checking immediately before posting - I'm certain there is a key combination similar to what I posted (not using c and C, I've done it before) that does block selection, but mine is regular selection –  Izkata Dec 26 '11 at 19:02
    
Well, if you ever find it, update your answer and I'll give you an upvote myself. –  jw013 Dec 26 '11 at 19:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.