How to highlight odd and even lines with different colors for normal text region.

2010-06-06 Thread Yue Wu
Hello list, I want to set different colors for odd and even lines in normal text region, i.e., those lines that are not with any syntax defined. How to do it? -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Department of Traditional Chinese Medicine China Pharmaceutical Universit

Re: How to highlight odd and even lines with different colors for normal text region.

2010-06-06 Thread Tim Chase
On 06/06/2010 07:23 AM, Yue Wu wrote: > I want to set different colors for odd and even lines in > normal text region, i.e., those lines that are not with > any syntax defined. I tried to dig up a link to this message, but it seems to have fallen off the internet. Below is a thread on the topic

Re: How to highlight odd and even lines with different colors for normal text region.

2010-06-06 Thread Yue Wu
On Sun, 06 Jun 2010 21:09:12 +0800, Tim Chase wrote: hi default Oddlines ctermbg=grey guibg=#808080 hi default Evenlines cterm=NONE gui=NONE syn match Oddlines "^.*$" contains=ALL nextgroup=Evenlines skipnl syn match Evenlines "^.*$" contains=ALL nextgroup=Oddlines skipnl Thank you, Tim, it

Re: How to highlight odd and even lines with different colors for normal text region.

2010-06-06 Thread Tony Mechelynck
On 06/06/10 15:09, Tim Chase wrote: On 06/06/2010 07:23 AM, Yue Wu wrote: > I want to set different colors for odd and even lines in > normal text region, i.e., those lines that are not with > any syntax defined. I tried to dig up a link to this message, but it seems to have fallen off the i

How make ALL words in bold?

2010-06-06 Thread Ney
Hi, anybody could tell me what line in my colorscheme that make ALL my words in bold? I have changed all "none" for "bold" but some words still normal. Thanks -- 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 i

how to not lose undo steps history after external reload of file

2010-06-06 Thread Sergey Vakulenko
Hello All! Like true vimmer, i love use vim constantly in all my projects. I use it with visual studio, svn and perforce. Sometimes, these external applications changes files opened in vim, and after 'file reload' function i lose my undo change tree. I payed no mind on that till i miss my files

Re: How to highlight odd and even lines with different colors for normal text region.

2010-06-06 Thread Tim Chase
On 06/06/2010 11:00 AM, Tony Mechelynck wrote: On 06/06/10 15:09, Tim Chase wrote: I tried to dig up a link to this message, but it seems to have fallen off the internet. Maybe on the gmane or yahoo archive for the "old" Vim lists? Having the original email saved (including the subject line)

Re: How to highlight odd and even lines with different colors for normal text region.

2010-06-06 Thread Gary Johnson
On 2010-06-06, Tim Chase wrote: > On 06/06/2010 11:00 AM, Tony Mechelynck wrote: > >On 06/06/10 15:09, Tim Chase wrote: > >>I tried to dig up a link to this message, but it seems to > >>have fallen off the internet. > > > >Maybe on the gmane or yahoo archive for the "old" Vim lists? > > Having the

Collection of vim scripts written in python

2010-06-06 Thread AK
Hi, I made a collection of vim plugins with python: http://lightbird.net/pysuite/ I need feedback! (they require vim compiled with python). At this stage the goal is not to have very polished or feature-complete plugins but to have something that can serve as example and a starting point for peo

Re: How to highlight odd and even lines with different colors for normal text region.

2010-06-06 Thread Tim Chase
On 06/06/2010 02:41 PM, Gary Johnson wrote: I Googled for vim oddlines evenlines and came up with http://www.mail-archive.com/v...@vim.org/msg07010.html which is your message from 2006: Re: Shading alternating patterns. Tim Chase Tue, 10 Oct 2006 08:23:56 -0700 But

Re: How make ALL words in bold?

2010-06-06 Thread Tony Mechelynck
On 06/06/10 18:40, Ney wrote: Hi, anybody could tell me what line in my colorscheme that make ALL my words in bold? I have changed all "none" for "bold" but some words still normal. Thanks If using gvim, and you happen to know the name of a boldface font, try setting that as your 'guifont'.

Re: How to highlight odd and even lines with different colors for normal text region.

2010-06-06 Thread Tony Mechelynck
On 06/06/10 21:41, Gary Johnson wrote: On 2010-06-06, Tim Chase wrote: On 06/06/2010 11:00 AM, Tony Mechelynck wrote: On 06/06/10 15:09, Tim Chase wrote: I tried to dig up a link to this message, but it seems to have fallen off the internet. Maybe on the gmane or yahoo archive for the "old"

Re: How make ALL words in bold?

2010-06-06 Thread Ney
Thank you Tony Mechelynck, the gui_gtk2 option worked perfectly. On Jun 6, 5:23 pm, Tony Mechelynck wrote: > On 06/06/10 18:40, Ney wrote: > > > Hi, anybody could tell me what line in my colorscheme that make ALL my > > words in bold? > > I have changed all "none" for "bold" but some words stil

Function behaving unexpectedly. Very confused.

2010-06-06 Thread ShayAllen
OK. I've got a text file that looks like this: pre and a function that looks like this: function! Test_func() exe "normal ggVGyGobottom\pVG" '<,'>s/pre/post/ endfunction The first line leaves me with a file that looks like this: pre bottom pre with the bottom "pre" selected. At this poin

Possible bug: Newly-edited buffer gets its 'modifiable' setting from buffer in which :edit or :split command is executed

2010-06-06 Thread Stahlman Family
Steps to reproduce... :e file1 :set noma :sp file2 At this point, `set ma?' indicates that file2's buffer is 'nomodifiable'. This seems strange to me, given that the 'modifiable' option is "local to buffer", and file1 and file2 obviously do not share a buffer. The result is the same when :e i

Re: Possible bug: Newly-edited buffer gets its 'modifiable' setting from buffer in which :edit or :split command is executed

2010-06-06 Thread Ben Fritz
On Jun 6, 10:19 pm, Stahlman Family wrote: > Steps to reproduce... > > :e file1 > :set noma > :sp file2 > > At this point, `set ma?' indicates that file2's buffer is > 'nomodifiable'. This seems strange to me, given that the 'modifiable' > option is "local to buffer", and file1 and file2 obvious

Re: Function behaving unexpectedly. Very confused.

2010-06-06 Thread Tony Mechelynck
On 07/06/10 04:04, ShayAllen wrote: OK. I've got a text file that looks like this: pre and a function that looks like this: function! Test_func() exe "normal ggVGyGobottom\pVG" '<,'>s/pre/post/ endfunction The first line leaves me with a file that looks like this: pre bottom pre with

Re: How to highlight odd and even lines with different colors for normal text region.

2010-06-06 Thread Christian Brabandt
Hi Gary! On So, 06 Jun 2010, Gary Johnson wrote: > I Googled for > > vim oddlines evenlines > > and came up with > > http://www.mail-archive.com/v...@vim.org/msg07010.html > > which is your message from 2006: > > Re: Shading alternating patterns. > Tim Chase > Tue, 10 Oct