Re: Paragraph formatting options

2006-08-28 Thread cga2000
On Mon, Aug 28, 2006 at 10:15:00AM EDT, Mikolaj Machowski wrote: > Dnia sobota, 19 sierpnia 2006 05:36, cga2000 napisa?: > > > > Is there any way I can tell Vim that when line 1 starts with a number > > followed by a dot '.' .. the following lines should be indented so that > > all the text is alig

Re: Paragraph formatting options

2006-08-28 Thread Mikolaj Machowski
Dnia sobota, 19 sierpnia 2006 05:36, cga2000 napisał: > > Is there any way I can tell Vim that when line 1 starts with a number > followed by a dot '.' .. the following lines should be indented so that > all the text is aligned. > > Not simple .. I guess .. since this could move into double digits

Re: Paragraph formatting options

2006-08-27 Thread A.J.Mechelynck
Gary Johnson wrote: On 2006-08-27, cga2000 <[EMAIL PROTECTED]> wrote: On Sat, Aug 26, 2006 at 05:09:35AM EDT, Gary Johnson wrote: On 2006-08-24, cga2000 <[EMAIL PROTECTED]> wrote: Is there any way I could map a simple toggle to (de)activate fo+=a (auto-format) .. so I can get rid of it quick

Re: Paragraph formatting options

2006-08-27 Thread cga2000
On Sun, Aug 27, 2006 at 02:37:54PM EDT, Gary Johnson wrote: > On 2006-08-27, cga2000 <[EMAIL PROTECTED]> wrote: [..] > > Is there a way I can list current keyboard mappings? > > You can get a list of user-defined mappings by executing > > :map > > and a list of the default bindings here: >

Re: Paragraph formatting options

2006-08-27 Thread Gary Johnson
On 2006-08-27, cga2000 <[EMAIL PROTECTED]> wrote: > On Sat, Aug 26, 2006 at 05:09:35AM EDT, Gary Johnson wrote: > > On 2006-08-24, cga2000 <[EMAIL PROTECTED]> wrote: > > > Is there any way I could map a simple toggle to (de)activate fo+=a > > > (auto-format) .. so I can get rid of it quickly when

Re: Paragraph formatting options

2006-08-27 Thread cga2000
On Sat, Aug 26, 2006 at 05:09:35AM EDT, Gary Johnson wrote: > On 2006-08-24, cga2000 <[EMAIL PROTECTED]> wrote: > > On Sat, Aug 19, 2006 at 01:45:32AM EDT, Gary Johnson wrote: > > > On 2006-08-19, cga2000 <[EMAIL PROTECTED]> wrote: > > > > [..] > Each Windows machine, on the other hand, is its o

Re: Paragraph formatting options

2006-08-26 Thread Gary Johnson
On 2006-08-24, cga2000 <[EMAIL PROTECTED]> wrote: > On Sat, Aug 19, 2006 at 01:45:32AM EDT, Gary Johnson wrote: > > On 2006-08-19, cga2000 <[EMAIL PROTECTED]> wrote: > > [..] > > > > I'm three hours behind/ahead of you (EST) .. so it's bedtime for me .. > > > It's getting late here, too, but I

Re: Paragraph formatting options

2006-08-25 Thread cga2000
On Fri, Aug 25, 2006 at 07:02:15AM EDT, A.J.Mechelynck wrote: > cga2000 wrote: [..] > > > >OK. I had tested both data entry syntaxes -- just Ctrl-K or Ctrl-V > >followed by Ctrl-K. I did that with the middle dot and I was getting an > >"invalid character" error message .. > > > >But then I was u

Re: Paragraph formatting options

2006-08-25 Thread A.J.Mechelynck
cga2000 wrote: [...] Well .. I have installed a plugin that causes to do completion in insert mode (instead of entering a tab ..) .. so I have to do a Ctrl-V .. so I don't use tabs very often these days. I probably need to get rid of the plugin but for the life of me, I can't rememeber what it

Re: Paragraph formatting options

2006-08-25 Thread A.J.Mechelynck
cga2000 wrote: On Thu, Aug 24, 2006 at 10:40:40PM EDT, A.J.Mechelynck wrote: cga2000 wrote: On Sat, Aug 19, 2006 at 01:32:33AM EDT, A.J.Mechelynck wrote: [...] If you're using Latin1 or UTF-8, you may try: - Currency sign (decimal 164, ?, ^KCu) - Middle dot (decimal 183, ·, ^K.M) I did bo

Re: Paragraph formatting options

2006-08-25 Thread cga2000
On Thu, Aug 24, 2006 at 10:40:40PM EDT, A.J.Mechelynck wrote: > cga2000 wrote: > >On Sat, Aug 19, 2006 at 01:32:33AM EDT, A.J.Mechelynck wrote: > >>cga2000 wrote: > > > >[..] > >This is weird .. I'm sure I replied to this and yet there's no trace > >of my reply anywhere. > > > >>>I'll probably us

Re: Paragraph formatting options

2006-08-25 Thread cga2000
On Sat, Aug 19, 2006 at 01:45:32AM EDT, Gary Johnson wrote: > On 2006-08-19, cga2000 <[EMAIL PROTECTED]> wrote: [..] > > I'm three hours behind/ahead of you (EST) .. so it's bedtime for me .. > It's getting late here, too, but I just got a new Windows PC and two > new flat-panel monitors that

Re: Paragraph formatting options

2006-08-24 Thread A.J.Mechelynck
cga2000 wrote: On Sat, Aug 19, 2006 at 01:32:33AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] This is weird .. I'm sure I replied to this and yet there's no trace of my reply anywhere. I'll probably use the dot '.' .. hope it doesn't clash with anything.. Or maybe there's a :digraph th

Re: Paragraph formatting options

2006-08-24 Thread cga2000
On Sat, Aug 19, 2006 at 01:32:33AM EDT, A.J.Mechelynck wrote: > cga2000 wrote: [..] This is weird .. I'm sure I replied to this and yet there's no trace of my reply anywhere. > >I'll probably use the dot '.' .. hope it doesn't clash with anything.. > > > >Or maybe there's a :digraph that would

Re: Paragraph formatting options

2006-08-18 Thread Gary Johnson
On 2006-08-19, cga2000 <[EMAIL PROTECTED]> wrote: > On Sat, Aug 19, 2006 at 12:15:10AM EDT, Gary Johnson wrote: > > On 2006-08-18, cga2000 <[EMAIL PROTECTED]> wrote: > > > [help creating numbered and bulleted lists in Vim] > > > > For numbered lists, > > > > set fo+=n > > > > For bulleted l

Re: Paragraph formatting options

2006-08-18 Thread A.J.Mechelynck
cga2000 wrote: On Sat, Aug 19, 2006 at 12:22:56AM EDT, Gary Johnson wrote: On 2006-08-18, Gary Johnson <[EMAIL PROTECTED]> wrote: For bulleted lists using '-', set com+=fb:- or '*', set com+=fb:* but those should already be part of the default 'comments' option unless you have chan

Re: Paragraph formatting options

2006-08-18 Thread cga2000
On Sat, Aug 19, 2006 at 12:22:56AM EDT, Gary Johnson wrote: > On 2006-08-18, Gary Johnson <[EMAIL PROTECTED]> wrote: > > > For bulleted lists using '-', > > > > set com+=fb:- > > > > or '*', > > > > set com+=fb:* > > > > but those should already be part of the default 'comments' option

Re: Paragraph formatting options

2006-08-18 Thread cga2000
On Sat, Aug 19, 2006 at 12:15:10AM EDT, Gary Johnson wrote: > On 2006-08-18, cga2000 <[EMAIL PROTECTED]> wrote: > [help creating numbered and bulleted lists in Vim] > > For numbered lists, > > set fo+=n > > For bulleted lists using '-', > > set com+=fb:- > > or '*', > > set com+=

Re: Paragraph formatting options

2006-08-18 Thread Gary Johnson
On 2006-08-18, Gary Johnson <[EMAIL PROTECTED]> wrote: > For bulleted lists using '-', > > set com+=fb:- > > or '*', > > set com+=fb:* > > but those should already be part of the default 'comments' option > unless you have changed it. I just checked again. "fb:-" is there by default;

Re: Paragraph formatting options

2006-08-18 Thread Gary Johnson
On 2006-08-18, cga2000 <[EMAIL PROTECTED]> wrote: > I there a way I can enter effortlessly stuff like the following: > > 1. this is a numbered paragraph several lines long and I would like all > lines aligned with the "this" which starts in column 4. I don't know if > it's good typography but I

Re: Paragraph formatting options

2006-08-18 Thread cga2000
On Fri, Aug 18, 2006 at 08:12:01PM EDT, Alan G Isaac wrote: > On Fri, 18 Aug 2006, apparently wrote: > > but what is this > > gwap (or :gwap ..) command? > > Seems it is not recognized by Vim 6.3 > > :h gw > guess what .. I was mistyping it .. .. something like gwa- I guess .. didn't realiz

Re: Paragraph formatting options

2006-08-18 Thread cga2000
On Fri, Aug 18, 2006 at 02:12:19PM EDT, Alan G Isaac wrote: > Try this: > set fo+=w and then leave no white space after your > outdented header. Then you can gwap to your hearts > content. > > Not quite what you asked for ... > I realize that this is not what you asked f

Re: Paragraph formatting options

2006-08-18 Thread Keith Warno
On 8/18/06, Noah Spurrier <[EMAIL PROTECTED]> wrote: I use the :gwap command a lot. I'd like to fine-tune it. Can the following be done? I'd like to reformat only those lines with the same indentation (and keep the indent). [...] I'm sure it could be scripted up fairly easily. In the meantime

Re: Paragraph formatting options

2006-08-18 Thread Alan G Isaac
Try this: set fo+=w and then leave no white space after your outdented header. Then you can gwap to your hearts content. Not quite what you asked for ... hth, Alan Isaac