about patch 7.0.171

2006-11-30 Thread Bram Moolenaar
This only applies to VMS. I just got a note that patch 7.0.171, which fixes problems with writing a file that has multiple directories, causes a new problem: swap files are left behind. Zoltan Arpadffy will try to come up with a solution, but that will take a few days. Until then, if you are

Re: Debugging errorformat strings

2006-11-30 Thread Nikolai Weibull
On 11/30/06, Hugh Sasse [EMAIL PROTECTED] wrote: On Wed, 29 Nov 2006, Nikolai Weibull wrote: On 11/29/06, Hugh Sasse [EMAIL PROTECTED] wrote: This was originally posted to vim@vim.org but I've not had a reply. Maybe it's better posted here, anyway. This is the concise form of the

Re: Debugging errorformat strings

2006-11-30 Thread Hugh Sasse
On Thu, 30 Nov 2006, Nikolai Weibull wrote: On 11/30/06, Hugh Sasse [EMAIL PROTECTED] wrote: On Wed, 29 Nov 2006, Nikolai Weibull wrote: On 11/29/06, Hugh Sasse [EMAIL PROTECTED] wrote: This was originally posted to vim@vim.org but I've not had a reply. Maybe it's better posted

Re: Debugging errorformat strings

2006-11-30 Thread Nikolai Weibull
On 11/30/06, Hugh Sasse [EMAIL PROTECTED] wrote: I was definitely getting this and it was pasted. Pulling the old versions of the generator script out of RCS I cannot regenerate this message. Using old versions of the makefile doesn't help restore this. Yeah, I remember getting these

Re: Debugging errorformat strings

2006-11-30 Thread Hugh Sasse
On Thu, 30 Nov 2006, Nikolai Weibull wrote: On 11/30/06, Hugh Sasse [EMAIL PROTECTED] wrote: I was definitely getting this and it was pasted. Pulling the old versions of the generator script out of RCS I cannot regenerate this message. Using old versions of the makefile doesn't help

Re: if \xe4==\xe4 failes,why?

2006-11-30 Thread A.J.Mechelynck
mbbill wrote: [...] Some minutes before,when I test the bug somewhere else, after I set ignorecase and encoding to utf-8 ,nothing went wrong. The result of the expression echo (\xe4==\xe4) was 1 Before that,I have deleted all temp files and config files then reinstalled the VIM, and I did

I look for make all windows (almost) equally high only. I would not equally wide.

2006-11-30 Thread KLEIN Stéphane
Hello, I look for make all windows (almost) equally high only. I would not equally wide. There is this feature ? I would not CTRL-W_= because this command make equally high and wide. Thanks for your help Stephane

Disable mapleader in insert mode

2006-11-30 Thread Ying Bian
Vimers, I set my mapleader to comma (,). Although I do not have any insert-mode maps starting with comma, whenever I type , in insert mode, it still waits for a while (the value of timeoutlen). Is there any way to disable the mapleader in insert mode so that vim will be more responsive when I

Hyperlinks and vim

2006-11-30 Thread Tanoor Dieng
Hi everybody, I'm a php developper and i'm using vim for my developments. Recently, i have tried the zend IDE. This IDE offers one particularly interesting feature: the possiblity to go on a class containing a function definition just by clicking on the function name. To do this, Zend IDE uses

RE: Disable mapleader in insert mode

2006-11-30 Thread Halim, Salman
I realize this won't help that much, except as an example of another user with the mapleader change. I use a comma as well, and the only way I get the delay in insert mode is when I actually HAVE a few insert-mode mappings. So I'm not actually seeing the problem you are. I'm using Vim 7.109 --

Re: I look for make all windows (almost) equally high only. I would not equally wide.

2006-11-30 Thread A.J.Mechelynck
KLEIN Stéphane wrote: Hello, I look for make all windows (almost) equally high only. I would not equally wide. There is this feature ? I would not CTRL-W_= because this command make equally high and wide. Thanks for your help Stephane :set equalalways eadirection=ver :split

Re: I look for make all windows (almost) equally high only. I would not equally wide.

2006-11-30 Thread Charles E Campbell Jr
KLEIN Stéphane wrote: I look for make all windows (almost) equally high only. I would not equally wide. There is this feature ? I would not CTRL-W_= because this command make equally high and wide. Here's what I did to find out: :he windows /equal OK, so here's where to look further:

Loading Vimfiles On WIndows With GVimPortable

2006-11-30 Thread Tom Purl
I'm trying to use Gvim on Windows from a USB thumbdrive. I found and installed the GvimPortable project (http://portablegvim.sourceforge.net/), and it works pretty well. The only problem is that I would like to use a non-standard location for my vimfiles directory. Here's the basic directory

Loading Vimfiles On WIndows With GVimPortable

2006-11-30 Thread Tom Purl
Forgive me if this is double-posted. I'm having e-mail problems this morning. I'm trying to use Gvim on Windows from a USB thumbdrive. I found and installed the GvimPortable project (http://portablegvim.sourceforge.net/), and it works pretty well. The only problem is that I would like to use a

multiples search and replace in the same command?

2006-11-30 Thread Tanoor Dieng
Hi, i'm trying to replace all occurrences of characaters like é, è, ê etc ... by their corresponding htmlentities. To do that, i use the following command: %s/é/\eacute;/g The problem with that command is that i have to do that for all characters. I was wandering if there's a way to do it with

Re: suggestions for ssh under windows

2006-11-30 Thread Vissale NEANG
Hi, Maybe he can try OpenSSH for windows from here : http://sshwindows.sourceforge.net/ It doesn't need the full Cygwin package. Best regards, Vissale 2006/11/30, Charles E Campbell Jr [EMAIL PROTECTED]: Hello! I have a netrw user using WinXP who wants to use ssh; currently, he doesn't

Re: suggestions for ssh under windows

2006-11-30 Thread Marlin Unruh
Charles E Campbell Jr wrote: Hello! I have a netrw user using WinXP who wants to use ssh; currently, he doesn't have such an executable. I tend to use cygwin, but that's like asking one to build a home instead of new cabinets for the kitchen. So, where can he get ssh for WinXP? I'm likely

Re: Loading Vimfiles On WIndows With GVimPortable

2006-11-30 Thread A.J.Mechelynck
Tom Purl wrote: I'm trying to use Gvim on Windows from a USB thumbdrive. I found and installed the GvimPortable project (http://portablegvim.sourceforge.net/), and it works pretty well. The only problem is that I would like to use a non-standard location for my vimfiles directory. Here's the

Re: suggestions for ssh under windows

2006-11-30 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30-Nov-06, at 11:21 AM, Charles E Campbell Jr wrote: I have a netrw user using WinXP who wants to use ssh; currently, he doesn't have such an executable. Putty is the most common solution - although I haven't used it in conjunction with

Re: Loading Vimfiles On WIndows With GVimPortable

2006-11-30 Thread Gary Johnson
On 2006-11-30, Tom Purl [EMAIL PROTECTED] wrote: Forgive me if this is double-posted. I'm having e-mail problems this morning. I'm trying to use Gvim on Windows from a USB thumbdrive. I found and installed the GvimPortable project (http://portablegvim.sourceforge.net/), and it works

RE: multiples search and replace in the same command?

2006-11-30 Thread Gene Kwiecinski
Hi, i'm trying to replace all occurrences of characaters like é, è, ê etc ... by their corresponding htmlentities. To do that, i use the following command: %s/é/\eacute;/g The problem with that command is that i have to do that for all characters. I was wandering if there's a way to do it with

Re: Loading Vimfiles On WIndows With GVimPortable

2006-11-30 Thread Tom Purl
Thanks for the advice Al! On 30/11/06, Tom Purl [EMAIL PROTECTED] wrote: I'm trying to use Gvim on Windows from a USB thumbdrive. I found and installed the GvimPortable project (http://portablegvim.sourceforge.net/), and it works pretty well. [snip] Using this custom directory structure, I

Re: different format in NEdit and GVIM

2006-11-30 Thread Tim Chase
I hadn't seen a response fly by to this question, so I'll take a stab... I am using both NEdit and VIM, and set the tab spacing for both editors to 3. However, if I edit a file using NEdit, which looks fine under NEdit, then open with GVIM, I am seeing all tabs become 8 characters. I

Re: Pasting blockwise selections

2006-11-30 Thread Bram Moolenaar
Chris Smith wrote: I'm new on the mailing list so please let me know if there's conventions I should be following or something that I'm not doing when posting here. My question is in regards to pasting chunks of text that have been copied from blockwise selections in gvim. In gvim 6.x,

Re: multiples search and replace in the same command?

2006-11-30 Thread Tim Chase
Hi, i'm trying to replace all occurrences of characaters like é, è, ê etc ... by their corresponding htmlentities. To do that, i use the following command: %s/é/\eacute;/g The problem with that command is that i have to do that for all characters. I was wandering if there's a way to do it with

Disabling *system-wide* plugins

2006-11-30 Thread DervishD
Sorry for resending, I have had problems with email and I'm not sure if this message made its way into the list. If it is repeated, please ignore O: Hi all :) I want to be able to NOT load the plugins in my system-wide runtime directory, and instead loading my own set of plugins,

Re: multiples search and replace in the same command?

2006-11-30 Thread A.J.Mechelynck
Gene Kwiecinski wrote: Hi, i'm trying to replace all occurrences of characaters like é, è, ê etc ... by their corresponding htmlentities. To do that, i use the following command: %s/é/\eacute;/g The problem with that command is that i have to do that for all characters. I was wandering if

Re: suggestions for ssh under windows

2006-11-30 Thread A.J.Mechelynck
Charles E Campbell Jr wrote: Hello! I have a netrw user using WinXP who wants to use ssh; currently, he doesn't have such an executable. I tend to use cygwin, but that's like asking one to build a home instead of new cabinets for the kitchen. So, where can he get ssh for WinXP? I'm likely

Re: suggestions for ssh under windows

2006-11-30 Thread Aaron Griffin
On 11/30/06, Charles E Campbell Jr [EMAIL PROTECTED] wrote: So, where can he get ssh for WinXP? I would recommend putty, especially if you just need scp and sftp for netrw - you can use pscp and psftp from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Re: multiples search and replace in the same command?

2006-11-30 Thread Sean Plank
- Original Message From: A.J.Mechelynck [EMAIL PROTECTED] To: Gene Kwiecinski [EMAIL PROTECTED] Cc: Tanoor Dieng [EMAIL PROTECTED]; vim@vim.org Sent: Thursday, November 30, 2006 12:48:06 PM Subject: Re: multiples search and replace in the same command? Gene Kwiecinski wrote: Hi,

Re: suggestions for ssh under windows

2006-11-30 Thread Bob Hoekstra
Marlin Unruh wrote: Charles E Campbell Jr wrote: Hello! I have a netrw user using WinXP who wants to use ssh; currently, he doesn't have such an executable. I tend to use cygwin, but that's like asking one to build a home instead of new cabinets for the kitchen. So, where can he get ssh

Re: Anyway to reduce the spaces in TagList Window for Taglist plugin?

2006-11-30 Thread Yegappan Lakshmanan
Hi, On 11/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'd been used the taglist plugin for times but found it useful. The issue is it is too agressive on screen space. There are 4 spaces before all identifiers and 2 spaces before each group name. Normally I'll set the font size so

Re: Loading Vimfiles On WIndows With GVimPortable

2006-11-30 Thread Tom Purl
Thanks a ton for all of the help AJ, Al, and Gary. I basically took did what AJ and Al suggested, including replacing the GVimPortable runtime with the official one. I forgot that the vimfiles directory under $VIM doesn't contain any files, so I simply placed my vimfiles dir there and also

Re: Disabling *system-wide* plugins

2006-11-30 Thread Bill McCarthy
On Thu 30-Nov-06 2:26pm -0600, DervishD wrote: I want to be able to NOT load the plugins in my system-wide runtime directory, and instead loading my own set of plugins, and only those. So far, I know that set noloadplugins will do the job, partially. This won't load the default plugins in

finding extra { braces

2006-11-30 Thread Yakov Lerner
It is easy to identify extra '}' in the .c source, compiler points us to the exact line. Rarely, I have the opposite error, the extra '{' somewhere in the source. For example int foo() { { } In this case, gcc points me to

Re: finding extra { braces

2006-11-30 Thread Peter Hodge
Hello Yakov, One way is to have Vim fold the { } regions. I think this is already set up in the C syntax, so you just need to ':set foldmethod=syntax'. You may also want to ':set foldcolumn=4' (or whatever number works for you). Note how the left side of the display shows you where each fold

Re: finding extra { braces

2006-11-30 Thread Cameron Simpson
On 01Dec2006 01:45, yakov lerner [EMAIL PROTECTED] wrote: | It is easy to identify extra '}' in the .c source, compiler | points us to the exact line. Rarely, I have the opposite error, | the extra '{' somewhere in the source. For example | int foo() { | { |

Useful Tools to Assist Editing (Not just VIM)

2006-11-30 Thread zzapper
Hi I've just come across a (Windows) utility which stores the last 25 things (clips) that you've copied and pasted. Click on the utility in your system tray and up pops a 5 by 5 grid. Each pigeon hole in the grid shows enough of the clip to help you recall the one you want. click in the pigeon

Re: Matching JUST the nth occurence of a text in a line

2006-11-30 Thread Bill McCarthy
On Thu 30-Nov-06 6:31pm -0600, zzapper wrote: Hi given a sample text below home home gg home xxx home ggg ggg home home home home How do you match JUST the second home in any of the above lines (ie avoid greediness) /home.\{-}\zshome -- Best regards, Bill

Re: suggestions for ssh under windows

2006-11-30 Thread Luis A. Florit
* El 30/11/06 a las 11:21, Charles E Campbell Jr chamullaba: Hello! I have a netrw user using WinXP who wants to use ssh; currently, he doesn't have such an executable. I tend to use cygwin, but that's like asking one to build a home instead of new cabinets for the kitchen. So, where can

possible bug for syntax/vim.vim?

2006-11-30 Thread panshizhu
if I had the following in a vim script: call FooBar('xxx' \ 'yyy') then the last character ')' will be highlight as Error. It seems that the '\' continued line are not recognized well. My :version VIM - Vi IMproved 7.0 (2006 May 7, compiled Sep 15 2006 16:06:30) Included patches: 1-76

Re: Useful Tools to Assist Editing (Not just VIM)

2006-11-30 Thread Troy Piggins
* zzapper [EMAIL PROTECTED] : [snip] I also use a Text Replacement Utility called ShortKeys which acts a bit like a VIM abbreviation ie you type a short code and it replaces the code with a long sequence of text or code that you use frequently eg a chunk of code, an address etc. [snip]

Re: Useful Tools to Assist Editing (Not just VIM)

2006-11-30 Thread Gary Johnson
On 2006-12-01, Troy Piggins [EMAIL PROTECTED] wrote: * zzapper [EMAIL PROTECTED] : [snip] I also use a Text Replacement Utility called ShortKeys which acts a bit like a VIM abbreviation ie you type a short code and it replaces the code with a long sequence of text or code that you use

Re: Useful Tools to Assist Editing (Not just VIM)

2006-11-30 Thread Troy Piggins
* Gary Johnson [EMAIL PROTECTED] : On 2006-12-01, Troy Piggins [EMAIL PROTECTED] wrote: * zzapper [EMAIL PROTECTED] : [snip] I also use a Text Replacement Utility called ShortKeys which acts a bit like a VIM abbreviation ie you type a short code and it replaces the code with a

Re: finding extra { braces

2006-11-30 Thread panshizhu
Yakov Lerner [EMAIL PROTECTED] 写于 2006-12-01 07:45:02: It is easy to identify extra '}' in the .c source, compiler points us to the exact line. Rarely, I have the opposite error, the extra '{' somewhere in the source. For example int foo() { {

Re: possible bug for syntax/vim.vim?

2006-11-30 Thread Bill McCarthy
On Thu 30-Nov-06 7:30pm -0600, [EMAIL PROTECTED] wrote: if I had the following in a vim script: call FooBar('xxx' \ 'yyy') then the last character ')' will be highlight as Error. It seems that the '\' continued line are not recognized well. Yes, the continuation support is limited.

Re: Matching JUST the nth occurence of a text in a line

2006-11-30 Thread Peter Hodge
Hello, Try: /^.\{-}home.\{-}\zshome for your reference: \{-} makes the '.' match as little as possible \zs makes the search match begin at this point in the pattern regards, Peter --- zzapper [EMAIL PROTECTED] wrote: Hi given a sample text below home home gg home xxx home

Re: Useful Tools to Assist Editing (Not just VIM)

2006-11-30 Thread Troy Piggins
* Gary Johnson [EMAIL PROTECTED] : On 2006-12-01, Troy Piggins [EMAIL PROTECTED] wrote: * zzapper [EMAIL PROTECTED] : [snip] I also use a Text Replacement Utility called ShortKeys which acts a bit like a VIM abbreviation ie you type a short code and it replaces the code with a long

Re: Matching JUST the nth occurence of a text in a line

2006-11-30 Thread Bill McCarthy
On Thu 30-Nov-06 9:20pm -0600, Peter Hodge wrote: Try: /^.\{-}home.\{-}\zshome for your reference: \{-} makes the '.' match as little as possible \zs makes the search match begin at this point in the pattern One might think so, but also note: :help non-greedy In particular,

Re: Matching JUST the nth occurence of a text in a line

2006-11-30 Thread Peter Hodge
--- Bill McCarthy [EMAIL PROTECTED] wrote: On Thu 30-Nov-06 9:20pm -0600, Peter Hodge wrote: Try: /^.\{-}home.\{-}\zshome for your reference: \{-} makes the '.' match as little as possible \zs makes the search match begin at this point in the pattern One might think

Re: Matching JUST the nth occurence of a text in a line

2006-11-30 Thread Bill McCarthy
On Thu 30-Nov-06 10:24pm -0600, you wrote: --- Bill McCarthy [EMAIL PROTECTED] wrote: On Thu 30-Nov-06 9:20pm -0600, Peter Hodge wrote: Try: /^.\{-}home.\{-}\zshome for your reference: \{-} makes the '.' match as little as possible \zs makes the search match begin at

Re: Matching JUST the nth occurence of a text in a line

2006-11-30 Thread Peter Hodge
--- Bill McCarthy [EMAIL PROTECTED] wrote: On Thu 30-Nov-06 10:24pm -0600, you wrote: --- Bill McCarthy [EMAIL PROTECTED] wrote: On Thu 30-Nov-06 9:20pm -0600, Peter Hodge wrote: Try: /^.\{-}home.\{-}\zshome for your reference: \{-} makes the '.' match as

Re: Matching JUST the nth occurence of a text in a line

2006-11-30 Thread Bill McCarthy
On Thu 30-Nov-06 11:49pm -0600, Peter Hodge wrote: --- Bill McCarthy wrote: On Thu 30-Nov-06 10:24pm -0600, Peter Hodge wrote: --- Bill McCarthy wrote: On Thu 30-Nov-06 9:20pm -0600, Peter Hodge wrote: Try: /^.\{-}home.\{-}\zshome for your reference: \{-} makes the '.' match as

RE: Matching JUST the nth occurence of a text in a line

2006-11-30 Thread Chuck Mason
Am I the only one amused that /homeCRn does nearly the same thing? I mean, I suppose you could be doing operations on your search but couldn't you equally just ayw and do stuff there? Besides \{-}\zs takes too long to type :) -Original Message- From: Bill McCarthy [mailto:[EMAIL

Re: Useful Tools to Assist Editing (Not just VIM)

2006-11-30 Thread Vincent Wang
zzapper wrote: Hi I've just come across a (Windows) utility which stores the last 25 things (clips) that you've copied and pasted. Click on the utility in your system tray and up pops a 5 by 5 grid. Each pigeon hole in the grid shows enough of the clip to help you recall the one you want.

Re: Matching JUST the nth occurence of a text in a line

2006-11-30 Thread A.J.Mechelynck
Bill McCarthy wrote: On Thu 30-Nov-06 11:49pm -0600, Peter Hodge wrote: --- Bill McCarthy wrote: On Thu 30-Nov-06 10:24pm -0600, Peter Hodge wrote: --- Bill McCarthy wrote: On Thu 30-Nov-06 9:20pm -0600, Peter Hodge wrote: Try: /^.\{-}home.\{-}\zshome for your reference: \{-} makes