RE: More about 7.0g

2006-05-04 Thread Bram Moolenaar
Robert Webb wrote: - I'd like to be able to put whatever name I want on the tabs. There doesn't seem to be a way to do this. 'guitablabel' is an option *shared* by all tabs, so I can't set one tab to Work and another to Play for example, and can only set them to different names

RE: Omni-completion problems

2006-05-04 Thread Bram Moolenaar
Robert Webb wrote: Another issue: it's a bit disconcerting that during insert-mode completion the cursor goes to the end of the line rather than staying in correct cursor position. I am talking about before the menu appears and millions of file names are speeding past on the

7.0g02 isearch/redir/balloon display glitch [GTK]

2006-05-04 Thread Neil Bird
With the noddy plugin ~/.vim/ftplugin/c/balloon.vim: function! MyBalloonExpr() redir = def exe 'silent isearch /'.v:beval_text.'/' redir END return substitute(def,'^\_s*\(.\{-\}\)\_s*$', '\1', '') endfunction setlocal balloonexpr=MyBalloonExpr() setlocal ballooneval Although it

Re: 7.0g02 isearch/redir/balloon display glitch [GTK]

2006-05-04 Thread Martin Stubenschrott
On Thu, May 04, 2006 at 03:02:18PM +0100, Neil Bird wrote: With the noddy plugin ~/.vim/ftplugin/c/balloon.vim: function! MyBalloonExpr() redir = def exe 'silent isearch /'.v:beval_text.'/' redir END return substitute(def,'^\_s*\(.\{-\}\)\_s*$', '\1', '') endfunction setlocal

Re: Bug: CursorLine highlighting is wrong after search

2006-05-04 Thread Georg Dahn
Hi! I tried, also on Windows XP, but I don't see the problem. I have no idea why it happens for you. Must be something obscure. What compiler did you use? Does it also show in the distributed Vim 7.0g? That's interesting. I use the same compiler as you (at least that's what I think),

Re: chk_menu_tran.pl: Quick and dirty perl utility to check for missing menu translations

2006-05-04 Thread Mikolaj Machowski
Dnia czwartek, 4 maja 2006 01:16, Wojciech Pilorz napisał: I have just finished a perl script to test menu translation completeness; It reads menu.vim, attempts to extract menu definitions and compare with menu definitions in specified files from runtime/lang. synmenu.vim is not read, so for

Scripts database down

2006-05-04 Thread Diwaker Gupta
I get this when trying to get to any script: script:Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Just FYI, Diwaker -- Web/Blog/Gallery: http://floatingsun.net/blog

Re: Bug: CursorLine highlighting wrong after search

2006-05-04 Thread Mikolaj Machowski
Dnia czwartek, 4 maja 2006 16:30, Georg Dahn napisał: I am running gVim 7.0g02 on Windows XP. Confirming for gtk2 version. Last character is always highlighted and whole line becomes yellow (default color). BTW - also true for console version. VIM - Vi IMproved 7.0g02 BETA (2006 May 3,

Network problem

2006-05-04 Thread Edward L. Fox
Hi VIMmers, I'm sorry that I'm not able to sync the SVN repository with the CVS repository on time today, because the network is suffering some problems. I had tried different routes but all failed. Maybe there is something wrong with the main gateways of the whole country. :-( I'll sync the

Re: regex @vim, negating a group

2006-05-04 Thread Matthew Winn
On Thu, May 04, 2006 at 08:56:41AM +0300, Yakov Lerner wrote: 3) The 'old' way. That's what I'd use before the \@ stuff to match words not ending with 'ion': /\\(\w*[^n]\|\w*[^o]n\|\w*[^i]on\)\ Not much fun if you want to match all words not ending in ification. :-) This is where negative

Re: trap changes in 'modified' state

2006-05-04 Thread Eric Arnold
I'm not sure if it's what you're looking for, but the tabline is triggered on the 'modified' setting. Just for the helluvit, I added pre- and post-proc function hooks to TabLineSet.vim. You can also add a check inside a CursorMoved[I} autocommand, which might have a little more overhead, but

Re: ^M problems with migrating VIM from WinXP to Linux

2006-05-04 Thread Eric Arnold
As for nulls as line breaks, you're not out of the woods yet. Try: :let @a='[EMAIL PROTECTED]@c' which should set @a to 'a00b00c'. Now put reg a, apinto a buffer. The nulls will be treated as newlines. Now yank back all the lines into reg b, and try :echo strtrans(@b)

Re: Getting mappings working again on Linux machine

2006-05-04 Thread Eddy Petrişor
On 5/4/06, Eddy Petrişor [EMAIL PROTECTED] wrote: On 5/4/06, Eric Leenman [EMAIL PROTECTED] wrote: Hi, On my WinXP machine in gvim 6.3.0 my mapping works On my Linux machine it partly works. One of the things that doesn't work is the windows behaviour. Like CTRL-C, CTRL-V , CTRL-X, ect

Re: Getting mappings working again on Linux machine

2006-05-04 Thread Georg Dahn
Hi! --- Eric Leenman [EMAIL PROTECTED] wrote: On my WinXP machine in gvim 6.3.0 my mapping works On my Linux machine it partly works. One of the things that doesn't work is the windows behaviour. Like CTRL-C, CTRL-V , CTRL-X, ect Just add source $VIMRUNTIME/mswin.vim Best wishes, Georg

scripted :isearch?

2006-05-04 Thread Neil Bird
Is there a script function version of :isearch (akin to taglist)? -- [EMAIL PROTECTED] ~]# rm -f .signature [EMAIL PROTECTED] ~]# ls -l .signature ls: .signature: No such file or directory [EMAIL PROTECTED] ~]# exit

Re: scripted :isearch?

2006-05-04 Thread Yakov Lerner
On 5/4/06, Neil Bird [EMAIL PROTECTED] wrote: Is there a script function version of :isearch (akin to taglist)? I don't know about builtin function. But it's possible to write such a function by redirecting the output of :ilist. Do you mean function a-la :ilist that returns list of

GVim Win32 - mouse cursor

2006-05-04 Thread Dominic Evans
Just a minor bug. It may not be fixable I am not sure. But I run GVim with 'set mouse=' (i.e. mouse completely disabled). However, if the mouse hovers over the statusline of a split window it still changes to the -- resize cursor. As I said it is a very minor thing but thought I would mention

Re: scripted :isearch?

2006-05-04 Thread Neil Bird
Around about 04/05/06 10:07, Yakov Lerner typed ... Do you mean function a-la :ilist that returns list of matches instead of printing them on the screen ? Actually, I finally sussed how ballooneval works and I thought that it might be cool to show the '[i' output there. -- [EMAIL

File Extenstions

2006-05-04 Thread Adrian Walls
Folks, I am using gvim and when I edit a file it makes a copy of the file on my disk with a ~ appendend to the new file created. How can I switch this off as I do not want this file being created. I assume that is this some kind of back up copy of the file. Thanks in advance, Adrian.

Re: File Extenstions

2006-05-04 Thread Anton
On Thu, May 04, 2006 at 14:36 +0100, Adrian Walls wrote: Folks, I am using gvim and when I edit a file it makes a copy of the file on my disk with a ~ appendend to the new file created. How can I switch this off as I do not want this file being created. I assume that is this some kind

Re: deleting repeated blocks of text

2006-05-04 Thread Vim Visual
Hey! Thanks! This worked out perfectly Now I have another question to you... The final file, which I got thanks to the help of all of you, is to be embedded into another web page... Which command should I add in the script to tell vi to embed it in the correct place? At the moment I do

Re: hiding lines

2006-05-04 Thread Gerald Lai
On Thu, 4 May 2006, Jack Donohue wrote: :v (and :g) made my day..! Yes, I use this a lot if I just want to filter out a set of lines, or see only lines containing some text (like the old XEDIT command). But what I'd really like to to is continue editing in this view and not lose all the

Re: deleting repeated blocks of text

2006-05-04 Thread Gerald Lai
On Thu, 4 May 2006, Tim Chase wrote: Which command should I add in the script to tell vi to embed it in the correct place? At the moment I do it by telling vi something like go to line XXX, delete everything, insert text: :386,$d o CTRL + v + ESC :r /tmp/arXiV_2.txt :w! ~pau/WWW/arXiV.html

Re: scripted :isearch?

2006-05-04 Thread Gerald Lai
On Thu, 4 May 2006, Neil Bird wrote: Around about 04/05/06 10:07, Yakov Lerner typed ... Do you mean function a-la :ilist that returns list of matches instead of printing them on the screen ? Actually, I finally sussed how ballooneval works and I thought that it might be cool to show the

LiveJournal S2 Syntax Highlighting - Strings

2006-05-04 Thread Max Cantor
Hi all, I'm slapping together a quick syntax highlighting plugin for LiveJournal's S2 code. S2 has a special type of string that is delimited by three quotes, which allows you to include quotes and double quotes in the string, unescaped. (This is useful for quote-heavy stuff like HTML.) It

Highlighting cursor in a color terminal

2006-05-04 Thread Alexander Klink
Hey, I am currently on a Linux console on a HP Jornada where the cursor is barely visible. When editing, I use visual mode as a workaround to quickly find out where I am in the file. But this is not the solution I would like to use in the long term. I ran into :highlight Cursor in the

avoid Press Enter... with new z= from function

2006-05-04 Thread Steve Hall
Is there a way to avoid the Press ENTER or type command to continue when requesting spelling suggestions from a :normal z= call in a function? I'm not able to make any of the usual tricks (shm, raising the command height) work, and this statement blocks user input. -- Steve Hall [ digitect

Network problem

2006-05-04 Thread Edward L. Fox
Hi VIMmers, I'm sorry that I'm not able to sync the SVN repository with the CVS repository on time today, because the network is suffering some problems. I had tried different routes but all failed. Maybe there is something wrong with the main gateways of the whole country. :-( I'll sync the

Re: LiveJournal S2 Syntax Highlighting - Strings

2006-05-04 Thread Yakov Lerner
On 5/5/06, Max Cantor [EMAIL PROTECTED] wrote: S2 has a special type of string that is delimited by three quotes, which allows you to include quotes and double quotes in the string, unescaped. (This is useful for quote-heavy stuff like HTML.) It looks like this: this is a cool string in which

Using vim to keep a todo list

2006-05-04 Thread Yi Qiang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've looked all over the net for a simple console based todo list manager and I always eventually come back to just using vim to edit a plain text file. I imagine there are other people who use vim to manage a todo list so I'd like to know what