Highlighting whole lines depending on keywords

2010-05-23 Thread ThG
istake ? Thanks in advance for the hand-holding. NB : Your help does not mean you will endorse any responsibility in the quality of the book ... ThG -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Text printing questions

2010-05-28 Thread ThG
nd finally page 2 then repeat (increment 4) until you reach the end of the 500 pages masterpiece ... ? or must I use Acrobat to do this ? Thanks in advance ThG -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to.

Re: Text printing questions

2010-05-29 Thread ThG
On 28 mai, 21:17, Tony Mechelynck wrote: > On 28/05/10 18:55, ThG wrote: > > > > > > > Bonjour, > > > I want to use Vim to write a book, which means I periodically wish to > > print my WIP. > > Each Vim line is, in fact, a normal book paragra

Use of matchadd()

2010-10-15 Thread ThG
I have a file consisting in a list of Vim usage definitions, eg : zo : opens a fold on the cursor zc : closes a fold on the cursor etc... The terms to define are always at the beginning of a line. I would like to highlight the words to define and for that purpose use matchadd() with a more specif

Re: Use of matchadd()

2010-10-16 Thread ThG
the lines beginning with characters such as :, ^, @, [, <, etc... Thanks again ThG > First you should try a normal search to check if it finds what > you want. Type / then the pattern ('\^\%::') and press Enter. > Does it match what you wanted? I think \^ should be ^ and \%

Re: Use of matchadd()

2010-10-16 Thread ThG
Christian On Oct 16, 1:34 pm, Christian Brabandt wrote: > Hi ThG! > > On Sa, 16 Okt 2010, ThG wrote: > > > I should have been more precise and say : how can I highlight in the > > whole file, from the beginning of each line to that arbitrary sequence > > of charac

Vim lines… and poetry

2011-06-19 Thread ThG
I use Vim to write a book. Each Vim line ended by a carriage return will be a paragraph of the book. Thus a single Vim line (which is wrapped, e.g. with a 80 character screen in 10 screen lines) can end as a 15 line paragraph in the book. But I have one problem : I want to make quotes of poetry, su

Re: Vim lines… and poetry

2011-06-20 Thread ThG
Thank you very much for your answer. Your suggestions will ask for some time to study (I am just above beginner's level in Vim). I shall mail you - if you do not mind - if I need clarification about those two tools. Thanks again. On Jun 19, 11:56 pm, John Magolske wrote: > Hi, > >

Re: Vim lines… and poetry

2011-06-20 Thread ThG
substitutions on 4 lines E486: Pattern not found: \n - what did I do wrong (please have in mind my level in Vim is, well, low) ? Thanks again Thierry On Jun 20, 1:32 am, Tim Chase wrote: > On 06/19/2011 02:04 PM, ThG wrote: > > > I use Vim to write a book. > > Each Vim line