Re:This is a regular text file. People will read it. Maybe.
by residualmind on Sunday June 23, 2013 @07:17AM
(#5927063)
gggqG - wraps the entire document
[ Parent
| on HN ]
Re:This is a regular text file. People will read it. Maybe.
by weinzierl on Sunday June 23, 2013 @07:50AM
(#5927165)
Good call, but it does violence to the ASCII creature:-(
That's why I suggested gqip on every paragraph, but I'm sure there are more efficient ways.
Re:This is a regular text file. People will read it. Maybe.
by ajanuary on Sunday June 23, 2013 @08:02AM
(#5927210)
Could you place the cursor just above the ASCII art and then wrap from there to the top of the document?
Re:This is a regular text file. People will read it. Maybe.
by residualmind on Sunday June 23, 2013 @08:38AM
(#5927338)
For that, you could place the cursor above the ASCII art; press (ma) to set marker 'a'; (gg) to go to the top; (gq`a) to wrap until marker a. ;)
Re:This is a regular text file. People will read it. Maybe.
by dredmorbius on Sunday June 23, 2013 @09:03AM
(#5927412)
gqG also does violence to some plain-text formatting, such as numbered lists or other short sections in which a specified line length or presentation is preferred.
Long lines and wrapping within the text viewer is probably your best bet.
Re:This is a regular text file. People will read it. Maybe.
by residualmind on Sunday June 23, 2013 @08:29AM
(#5927311)
Ah, I do see your point!
Re:This is a regular text file. People will read it. Maybe.
by pooriaazimi on Sunday June 23, 2013 @07:21AM
(#5927078)
Why three g's at the beginning?
Re:This is a regular text file. People will read it. Maybe.
by residualmind on Sunday June 23, 2013 @07:27AM
(#5927093)
(g) invokes extra commands. here two are used: (gg) places the cursor at the top. (gq) wraps the text until (G) the end of the document.