patch for 7.0d docs

2006-04-16 Thread Adam Monsen
I was very pleased to see Taro Muraoka's functionality included for selecting quoted strings! Here's a small patch to correct the fact that these are visual mode commands as opposed to normal mode commands. -- Adam Monsen version7.txt.patch Description: Binary data

default cursorline/cursorcolumn with dark background

2006-04-16 Thread Georg Dahn
Hi! Vim choses the default colors of the syntax highlighting for gVim depending of the value of background. If I add the lines set background=dark hi Normal guifg=#e0e0e0 guibg=#202020 I get the defaults for dark backgrounds. Unfortunately, the background colors of cursorline and

Re: enhancing namespaces | introduce n:m relation buffers/functionality

2006-04-16 Thread Bram Moolenaar
Marc Weber wrote: I'm restructuring my vim scripts and I'm not sure in which namespace to put some functions/ commands/ maps. By now there are these namespaces (copied from vim help) as far as I know |buffer-variable|b: Local to the current buffer. |window-variable|w:

Re: default cursorline/cursorcolumn with dark background

2006-04-16 Thread Nicolas Weber
Hi, In the meantime I found another one: Could you please set MatchParen differently, because with a dark background a light foreground and Cyan don't fit. I suggest setting guifg to bg or Black. That's bugging me too. Something else: When I have a completion menu that's long, but still

Re: completion menu

2006-04-16 Thread Bram Moolenaar
Georg Dahn wrote: Ok, let's assume there are several completions, such that you get a menu with C-N. Then if you move the selection with the cursor keys and press Enter, the selected item is being chosen. If you do the same with C-N (instead of using cursor keys), Enter inserts a new

Re: Strange behavior with highlights defined in gvimrc

2006-04-16 Thread Georg Dahn
Hi! What does :verbose hi Constant guifg=Maroon show? Nothing. But the Constants are Maroon afterwards. In addition to the above sort of debugging, you can add a line like let g:foo = 2006 April 16 background= . background to your color scheme file. The date stamp is to avoid

Re: default cursorline/cursorcolumn with dark background

2006-04-16 Thread Georg Dahn
Hi! In the meantime I found another one: Could you please set MatchParen differently, because with a dark background a light foreground and Cyan don't fit. I suggest setting guifg to bg or Black. How about using guibg=DarkCyan? Looks OK to me, it is much better! Best wishes, Georg Send

which vim option

2006-04-16 Thread Yakov Lerner
I remember I used this vim option in the past but now I can't find its name. This options does the following: - when 'wrap' is on, and I have long (wrapped) lines in the buffer, it displays each continuation line as if indented from Nth column instead of column 1. It does not change buffer

Re: RFC: Indexing help files[was: Re: which vim option]

2006-04-16 Thread Eric Arnold
Line 31 of :help reads Search for help: Type :help word, then hit CTRL-D to see matching help entries for word. I think that in addition it should also be at :help line 1, the default statusline string, and the default : prompt until ^D is used at least once :-)

Perf prob: what causes tabline to trigger the call to the format function?

2006-04-16 Thread Eric Arnold
I've sorta isolated a performance problem I'm having with my TabLineSet.vim script. If I set the string to include a %(func()} string (which in this case, addeds a hour/min/sec string), and do something to update a buffer in a tab with multiple windows, then *every* keystroke from then on calls

Re: which vim option

2006-04-16 Thread Mikolaj Machowski
Dnia niedziela, 16 kwietnia 2006 14:46, Georg Dahn napisał: That's it, thanks. 'showbreak'. Is there a possibility that wrapping respects indentation? That is, that the wrapped text starts exactly at the actual indentation? I have not found an option for that, but this would be a fine

Idiom for split() ing a register consistently into a list of lines?

2006-04-16 Thread Eric Arnold
I was wondering if there is/should be an idiom for let somelist = split( get_reg( @a ), '\n', 1 ) such that you get a list which doesn't require special checking and handling of the last newline of the last line creating an unwanted empty list element?

Re: which vim option

2006-04-16 Thread Gerald Lai
On Sun, 16 Apr 2006, Mikolaj Machowski wrote: Dnia niedziela, 16 kwietnia 2006 14:46, Georg Dahn napisa?: That's it, thanks. 'showbreak'. Is there a possibility that wrapping respects indentation? That is, that the wrapped text starts exactly at the actual indentation? I have not found an

Re: Is there a setbufline() to go with getbufline() ?

2006-04-16 Thread Bram Moolenaar
Eric Arnold wrote: I don't see it, but it would be great to have a setbufline( {expr}, {lnum}, {end}, {line} ) where you could set lines in a buffer without having to switch/load it, where {expr} is the buffer {lnum} is the starting line {end} is the ending line, or maybe a line

Re: which vim option

2006-04-16 Thread Yakov Lerner
On 4/16/06, Gerald Lai [EMAIL PROTECTED] wrote: On Sun, 16 Apr 2006, Mikolaj Machowski wrote: Dnia niedziela, 16 kwietnia 2006 14:46, Georg Dahn napisa³: That's it, thanks. 'showbreak'. Is there a possibility that wrapping respects indentation? That is, that the wrapped text starts

Re: RFC: Indexing help files[was: Re: which vim option]

2006-04-16 Thread Eddy Petrişor
On 4/16/06, Eric Arnold [EMAIL PROTECTED] wrote: Search for help: Type :help word, then hit CTRL-D to see matching help entries for word. On 4/16/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 4/16/06, Eddy Petrişor [EMAIL PROTECTED] wrote: My question is: how hard

Using args argdo to change many files regarding a pattern spanning 3 lines

2006-04-16 Thread Mike Blonder
Hi. I am unable to successfully use args argdo to change many files for a specific pattern that spans 3 lines. The files are .htm files. I have used set listchars=:tab-,trail:- to reveal the tabs within the file and have included what I take to be precisely the pattern within the argdo

RE: Diffthis a file with conflicting modeline

2006-04-16 Thread Suresh Govindachar
Benji Fisher Sent on April 16, 2006 7:55 PM On Sun, Apr 16, 2006 at 05:15:48PM -0700, Suresh Govindachar wrote: Hello, A few minutes ago, I wrote, hastily: I just found out that buffers displaying files with modeline that set foldexpr, fillchars, foldtext,

Re: Segv with gvim 7.d and 7.e

2006-04-16 Thread Eddie Ash
I am running on debian sarge. With the flag prefix=/home/elash1/usr/local I have set the CFLAG to be -DDEBUG but when I run gdb it doesn't find the symbols :( any clue? I noticed if I don't do make install, it works fine. But otherwise gvim doesn't work. I get the following when i do a

Re: Using args argdo to change many files regarding a pattern spanning 3 lines

2006-04-16 Thread Eric Arnold
Are you saying that your substitution works for one file but not for many with argo? Anyway, specifying ^M isn't very portable, so you probably want \n instead. Also, you can save yourself using \/ everywhere by using :s;pattern1;pattern2;ge Using \s* or \s\+ instead of entering literal