Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Getting a line to wrap/reformatting paragraphs
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eric Weir  
View profile  
 More options Feb 23 2012, 1:49 pm
From: Eric Weir <eew...@bellsouth.net>
Date: Thu, 23 Feb 2012 13:49:38 -0500
Local: Thurs, Feb 23 2012 1:49 pm
Subject: Re: Getting a line to wrap/reformatting paragraphs

On Feb 23, 2012, at 12:41 PM, Herbert Sitz wrote:

> On Thu, Feb 23, 2012 at 9:37 AM, Herbert Sitz <hes...@gmail.com> wrote:

>> Typically the 'gq' command is used to reformat a section of text.  See
>> ':h gq'.  With the 'w' setting in formatoptions this will only
>> reformat lines that end with a <non-space><cr>, not lines that end
>> with <space><cr>.  This ends up pretty natural, I think.

> Also, with 'w' setting the autoformatting with 'a' flag will also only
> reformat lines that end with <space><cr>.

With, as I understand it, <non-space><cr> as the paragraph delineator that strikes me as more natural. If I wanted to go with the 'a' option should I put that in my .vimrc? Right now I think I would want it to apply only to 'org' files.

> Not sure whether your VimOrganizer is set up to highlight the end of
> line characters or spaces at end of line.  If not, it's helpful to get
> some nonobtrusive highlight so you can see which lines end with
> <space><cr> and which end with <non-space><cr>.

It is not. That would be helpful--if it was nonobtrusive. Is that addressed in the documentation?

Thanks,
--------------------------------------------------------------------------- ---------------
Eric Weir
eew...@bellsouth.net

"Human coexistence and social life constitute the good common to us all
from which and thanks to which all cultural and social goods derive."

- Zygmunt Bauman


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.