Re: Regression in gvim 7.0.00x

2006-05-25 Thread Benji Fisher
On Thu, May 25, 2006 at 02:06:55AM +0200, Luc Hermitte wrote: Hello, I've been observing a regression on gvim since the release of vim 7.0. I'm observing it on gvim 7.0.000 on windows, gvim 7.0.015 (or 17, I do not remember) on Linux (gui=GTK2/Athena). It seems I do not have it with the

Re: netrw, winxp, and a problem...

2006-05-25 Thread Charles E Campbell Jr
Steve Hall wrote: Just assume all paths are Windows-hostile unless passed through such a wrapper. (I never see these errors on *nix, so I assume it's path related.) I'll try it! The unfortunate part is, I can't test it. Or rather, I can test to see if the wrapper introduces some new

Re: netrw, winxp, and a problem...

2006-05-25 Thread Steve Hall
From: Charles E Campbell Jr, May 25, 2006 9:52 AM Steve Hall wrote: Just assume all paths are Windows-hostile unless passed through such a wrapper. (I never see these errors on *nix, so I assume it's path related.) I'll try it! The unfortunate part is, I can't test it. Or rather, I

Re: Regression in gvim 7.0.00x

2006-05-25 Thread Benji Fisher
On Thu, May 25, 2006 at 03:17:54PM +0200, Luc Hermitte wrote: * On Thu, May 25, 2006 at 08:30:52AM -0400, Benji Fisher [EMAIL PROTECTED] wrote: I see the following note in doc/version7.txt : --- fixes and changes since Vim 7.0f --- [...] Prevent that using CTRL-R = in Insert

Re: Using GUI on Mac OS X

2006-05-25 Thread Axel Kielhorn
Am 25.05.2006 um 07:04 schrieb Peter Hodge: Hello all, I am trying to compile vim with gui support on Mac OS X 10.2, but it doesn't seem to work. I use ./configure --enable-gui=auto A simple ./configure should work. (It will detect darwin and enable the carbon gui. I'm using

Re: Typing 'oun' in INSERT mode moves me to the next line.

2006-05-25 Thread James Dominy
Tim Chase wrote: Typing the sequence 'oun' really fast (i.e. touch typing speed) when there already exists a line below the one the cursor is currently on, in INSERT mode, moves the cursor down one line between the 'u' and the 'n'. In my general experience, this doesn't happen :) There are

Re: Typing 'oun' in INSERT mode moves me to the next line.

2006-05-25 Thread Tim Chase
2) you've got some funky keyboard mapping at the console/GUI level. This would evidence itself in other editors, so if you pull up Nano or Emacs and rapidly type oun in the same fashion as you do in Vim, you'd get other funky characters. How to remedy this lies outside vim...you'd have to check

Associating file extension with filetype.

2006-05-25 Thread Ramashish Baranwal
Hi, Apologies if this has been answered before (I couldn't find anywhere). How can I associate a file extension to a file type in my .vimrc file (e.g. .hpp extension to c++/cpp file)? Ram

RE: FW: Vimspell on mac problems

2006-05-25 Thread Furash Gary
-Original Message- From: Benji Fisher [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 6:40 AM To: vim@vim.org; [EMAIL PROTECTED] Subject: Re: FW: Vimspell on mac problems On Mon, May 22, 2006 at 06:42:36AM -0700, Furash Gary wrote: My vimspell with 7.0 seems to work okay on the

Re: FW: Vimspell on mac problems

2006-05-25 Thread Benji Fisher
On Thu, May 25, 2006 at 09:39:37AM -0400, Benji Fisher wrote: On Mon, May 22, 2006 at 06:42:36AM -0700, Furash Gary wrote: My vimspell with 7.0 seems to work okay on the mac os x at first - it shows words with problems, but if I right click and pick a replacement word it crashes. Gary

Re: VIM script replacement question

2006-05-25 Thread Alan G Isaac
On Thu, 25 May 2006, Nikolaos A. Patsopoulos apparently wrote: In detail: 1.I want in front of the number in the first column to add # , then change line after the value 2. change line after 3rd column 3. change line after 5th column 4. repeat all three steps

Re: VIM script replacement question

2006-05-25 Thread Nikolaos A. Patsopoulos
Alan G Isaac wrote: On Thu, 25 May 2006, Nikolaos A. Patsopoulos apparently wrote: In detail: 1.I want in front of the number in the first column to add # , then change line after the value 2. change line after 3rd column 3. change line after 5th column 4. repeat all three steps

Re[2]: VIM script replacement question

2006-05-25 Thread Alan G Isaac
On Thu, 25 May 2006, Nikolaos A. Patsopoulos apparently wrote: The replacement didn't occur to the whole file. You must have forgotten the '%'. hth, Alan Isaac

Re: VIM script replacement question

2006-05-25 Thread Nikolaos A. Patsopoulos
Alan G Isaac wrote: On Thu, 25 May 2006, Nikolaos A. Patsopoulos apparently wrote: The replacement didn't occur to the whole file. You must have forgotten the '%'. hth, Alan Isaac No, I used %. Got them same problem with Tim's code :(

Re[2]: VIM script replacement question

2006-05-25 Thread Alan G Isaac
On Thu, 25 May 2006, Nikolaos A. Patsopoulos apparently wrote: No, I used %. Got them same problem with Tim's code Something is not right ... Try using :g/./s/ instead of :%s/ and see what happens. hth, Alan Isaac

Re: VIM script replacement question

2006-05-25 Thread Nikolaos A. Patsopoulos
Alan G Isaac wrote: On Thu, 25 May 2006, Nikolaos A. Patsopoulos apparently wrote: No, I used %. Got them same problem with Tim's code Something is not right ... Try using :g/./s/ instead of :%s/ and see what happens. hth, Alan Isaac Works great! Million thanks! Nikos

Re: VIM script replacement question

2006-05-25 Thread Nikolaos A. Patsopoulos
Alan G Isaac wrote: On Thu, 25 May 2006, Nikolaos A. Patsopoulos apparently wrote: No, I used %. Got them same problem with Tim's code Something is not right ... Try using :g/./s/ instead of :%s/ and see what happens. hth, Alan Isaac One last question: I get this: #3 00

Re: VIM script replacement question

2006-05-25 Thread Tim Chase
I get this: #3 00 00 #4 11 10 #5 11 00 How I can put spaces between numbers in same rows? Looks like you omitted spaces between the \2 and \3 and between the \4 and \5 in Alan's solution (or my 2nd one that broke out each piece individually) The final replacement should read /#\1\r\2

Re[2]: VIM script replacement question

2006-05-25 Thread Alan G Isaac
On Thu, 25 May 2006, Nikolaos A. Patsopoulos apparently wrote: 00 must become 0 0 The original replacement I sent had these spaces in it: :g/./s/^\(\d\+\)\s\+\([01]\)\s\+\([01]\)\s\+\([01]\)\s\+\([01]\)\s*/#\1\r\2 \3\r\4 \5 Look after \2 and after \4 hth, Alan Isaac

RE: Working directory problems

2006-05-25 Thread Max Dyckhoff
I'm sorry, the script which I call basically just makes a system call: function! SDCheckout() let file = expand(%) if (confirm(Checkout from Source Depot?\n\n . file, Yes\nNo, 1) == 1) call system(sd edit . file . /dev/null) if v:shell_error == 0

Perl Support in Debian

2006-05-25 Thread William O'Higgins Witteman
I'm hoping someone has a quick fix for this. I have installed vim-perl on Debian (from unstable) but when I look at :ver I see that Perl is listed as -perl. As I understand it, I should see +perl. Is there a way to fix this at run-time, or do I have to compile this in? Thanks. -- yours,

Re: VIM script replacement question

2006-05-25 Thread Nikolaos A. Patsopoulos
Alan G Isaac wrote: On Thu, 25 May 2006, Nikolaos A. Patsopoulos apparently wrote: 00 must become 0 0 The original replacement I sent had these spaces in it: :g/./s/^\(\d\+\)\s\+\([01]\)\s\+\([01]\)\s\+\([01]\)\s\+\([01]\)\s*/#\1\r\2 \3\r\4 \5 Look after \2 and after \4 hth, Alan

Re: Using GUI on Mac OS X

2006-05-25 Thread Michael Hernandez
On May 25, 2006, at 2:57 AM, Axel Kielhorn wrote: Am 25.05.2006 um 07:04 schrieb Peter Hodge: Hello all, I am trying to compile vim with gui support on Mac OS X 10.2, but it doesn't seem to work. I use ./configure --enable-gui=auto A simple ./configure should work. (It will detect

Re: Perl Support in Debian

2006-05-25 Thread James Vega
On Thu, May 25, 2006 at 12:02:35PM -0400, William O'Higgins Witteman wrote: I'm hoping someone has a quick fix for this. I have installed vim-perl on Debian (from unstable) Debian Vim maintainer hat Please report bugs with our Vim package directly to us. This allows us to determine if it's a

Re: Perl Support in Debian

2006-05-25 Thread William O'Higgins Witteman
On Thu, May 25, 2006 at 03:13:45PM -0400, James Vega wrote: Aha! You have spotted the problem. I have both vim-perl and vim-python installed, and even though they have the same priority, the system is defaulting to vim.python. You can change that with update-alternatives --config, but then

Re: VIM script replacement question

2006-05-25 Thread mzyzik
Nikos, The one line :%s way that was posted before is the truly elegant way of solving this problem. However, I found that macros are especially appropriate in this case. I was able to execute the whole task in 15 seconds by recording a macro for the first line, and then playing it back 26 times.

Vim for cingular 8125 running Windows mobile 5

2006-05-25 Thread Suresh Govindachar
Hello, Is there a vim for the Cingular 8125 running windows mobile 5 http://www.cingular.com/8125_consumer ? Thanks, --Suresh

spell checking with html doesn't work

2006-05-25 Thread David Purton
Hi all, With Vim 7 under Windows XP, I don't seem to be able to get spell checking to work with HTML files. Mostly no words are marked as misspelled. But inside some tags, e.g., h1/h1, it seems to work OK. Spelling errors are not highlighted in p/p tags, which is likely to be where most errors