Patch 7.0.155

2006-11-01 Thread Bram Moolenaar
Patch 7.0.155 Problem:When getchar() returns a mouse button click there is no way to get the mouse coordinates. Solution: Add v:mouse_win, v:mouse_lnum and v:mouse_col. Files: runtime/doc/eval.txt, src/eval.c, src/vim.h *** ../vim-7.0.154/runtime/doc/eval.txt Tue Oct 3

Patch 7.0.158

2006-11-01 Thread Bram Moolenaar
Patch 7.0.158 Problem:In a C file with :set foldmethod=syntax, typing {CR on the last line results in the cursor being in a closed fold. (Gautam Iyer) Solution: Open fold after inserting a new line. Files: src/edit.c *** ../vim-7.0.157/src/edit.c Tue Oct 17

Re: syntax region match with braces

2006-11-01 Thread Peter Hodge
Hello, I have the same problem with large PHP files, Vim gets confused in the midst of all the curly braces ... :-S Unfortunately I'm not yet familiar with the 'syn sync' commands, partly because they're so hard to test. You can use a command like ':syn on' to refresh the syntax, and that

Re: syntax region match with braces

2006-11-01 Thread Ilya Sher
Peter Hodge wrote: Hello, I have the same problem with large PHP files, Vim gets confused in the midst of all the curly braces ... :-S Unfortunately I'm not yet familiar with the 'syn sync' commands, partly because they're so hard to test. Haven't followed the thread but :syntax

Website

2006-11-01 Thread A. S. Budden
Just a small (and very minor) suggestion for the website. I noticed that the About Vim page says: Users of Vim 5 should consider upgrading to Vim 6, which is greatly enhanced since Vim 5. Shouldn't this be updated? Similarly, the Don't take our word for it! Read what others have said about

Re: Vietnamese VIQR keymap

2006-11-01 Thread Bram Moolenaar
Theerasak Photha wrote: http://turkey.fvdh.net/~hanumizzle/vietnamese_utf-8.vim This appears to do the same viqr method as the keymap that's included in the distribution. Can you get together with the author of the keymap currently included and come up with the keymap that should be included

Re: Vietnamese VIQR keymap

2006-11-01 Thread Theerasak Photha
On 11/1/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Theerasak Photha wrote: http://turkey.fvdh.net/~hanumizzle/vietnamese_utf-8.vim This appears to do the same viqr method as the keymap that's included in the distribution. Can you get together with the author of the keymap currently included

pythoncomplete#Complete crashes

2006-11-01 Thread Theerasak Photha
Omnicompletion crashes Vim with a SIGABRT using Vim 7.0 and Python 2.5 on Linux x86. It mentions moreover that glibc detected double free or corruption. Does anyone else have such a problem?

how to make 7.0 behave like 6.4

2006-11-01 Thread longraider
Hi I've a habit for writing such a code: { s; } In this way: When I'm on blank linke, i press: shift-[ enter shift-] up-arrow enter (sometimes tab here) s ; That worked great in vim 6, but now (vim7) I get something like that: s;{ } Because after pressing up-arrow, the

How to edit a macro

2006-11-01 Thread Robert Cussons
Hi everyone, In a C programme for example is there a way to get Vim to ignore matches that are commented out when searching for a string? Thanks, Rob.

--remote diff to tab

2006-11-01 Thread Hugo Ahlenius
Hi, I am trying to set up my subversion client(s) so that I can get any diffs open in a proper diff mode, in an existing gvim session, in a new tab... Any tips for that? Do you I have to construct a more complicated command-line for that -- I just tried: --remote-tab -d %1 %2 but that opened

long line display in gvimdiff

2006-11-01 Thread Peng Yu
Hi, It seems that longs line shown in gvimdiff would be broken. I have to move the cursor to the end of the long to read it. I'm wondering how to break lines like the norm gvim does. Thanks, Peng

Re: --remote diff to tab

2006-11-01 Thread A. S. Budden
On 01/11/06, Hugo Ahlenius [EMAIL PROTECTED] wrote: Hi, I am trying to set up my subversion client(s) so that I can get any diffs open in a proper diff mode, in an existing gvim session, in a new tab... Any tips for that? Do you I have to construct a more complicated command-line for that -- I

Re: long line display in gvimdiff

2006-11-01 Thread Peng Yu
On 11/1/06, Peng Yu [EMAIL PROTECTED] wrote: Hi, It seems that longs line shown in gvimdiff would be broken. I have to move the cursor to the end of the long to read it. I'm wondering how to break lines like the norm gvim does. Thanks, Peng Hi I actually mean how to wrap around long lines

Re: long line display in gvimdiff

2006-11-01 Thread Tim Chase
I actually mean how to wrap around long lines in gvimdiff. I would suggest :set wrap or :set nowrap as they seem to work fine for me in diffmode. It should apply on a per-window basis, so you may have to execute it in each diff window. -tim

Re: long line display in gvimdiff

2006-11-01 Thread Dmitriy Yamkovoy
It should apply on a per-window basis, so you may have to execute it in each diff window. Or if you're feeling lazy, :windo set wrap :windo set nowrap These enable or disable wrapping for all windows in the current tab. -Dmitriy

Re: long line display in gvimdiff

2006-11-01 Thread Tim Chase
It should apply on a per-window basis, so you may have to execute it in each diff window. Or if you're feeling lazy, :windo set wrap :windo set nowrap If you only have the two diff windows open, this is about as efficient as control+W control+W at colon to change windows and re-execute

Re: Smart use of Tab

2006-11-01 Thread Benji Fisher
On Tue, Oct 31, 2006 at 03:57:18PM +, A. S. Budden wrote: [snip] The key problem here is that the autoindenting is, rather understandably, using tabs to achieve the indent, but if another developer works on the code with ts set to something different, the comment on the third line won't

Re: Win32 COMSPEC args don't reconfig on COMSPEC resest

2006-11-01 Thread A.J.Mechelynck
Linda W wrote: I changed my COMSPEC on win32 to C:\bin\bash.exe. In vi, when I use the ! to execute a command on Windows, like ls, it tried to execute it with: C:\bin\bash /c ls where ^^--- is an argument to the DOS/Windows Shell, but doesn't work for for bash. Is there some other option

Re: Arrow keys in combination with Fx key

2006-11-01 Thread A.J.Mechelynck
Eric Leenman wrote: Hi, I was wondering if you can combine arrow keys with Fx keys. For example, can a mapping like CTRLleft be replaced with F2left The idea is to move mappings which use CTRL and ALT to Fx keys and SHIFT-Fx keys. This because CTRL and ALT are window-manager-dependend on

Re: how to make 7.0 behave like 6.4

2006-11-01 Thread A.J.Mechelynck
longraider wrote: Hi I've a habit for writing such a code: { s; } In this way: When I'm on blank linke, i press: shift-[ enter shift-] up-arrow enter (sometimes tab here) s ; That worked great in vim 6, but now (vim7) I get something like that: s;{ } Because after pressing

Re: Smart use of Tab

2006-11-01 Thread A. S. Budden
On 01/11/06, Benji Fisher [EMAIL PROTECTED] wrote: On Tue, Oct 31, 2006 at 03:57:18PM +, A. S. Budden wrote: [snip] The key problem here is that the autoindenting is, rather understandably, using tabs to achieve the indent, but if another developer works on the code with ts set to

Command line tab completion

2006-11-01 Thread A. S. Budden
Dear all, When entering commands on the command line, I often use the completion facility by pressing tab. I have the wildmode set to longest:full. I have noticed a 'feature' that I find a little frustrating, however. If I type: :help preserTAB it offers me the choices: :preserve

Re: long line display in gvimdiff

2006-11-01 Thread Dmitriy Yamkovoy
I didn't know about @:, thanks! -Dmitriy On 11/1/06, Tim Chase [EMAIL PROTECTED] wrote: It should apply on a per-window basis, so you may have to execute it in each diff window. Or if you're feeling lazy, :windo set wrap :windo set nowrap If you only have the two diff windows open,

Searching

2006-11-01 Thread Billy Patton
In gvim I can hold the shift and double click over a word and it searches for that word. Can I set this up in vim?

Re: long line display in gvimdiff

2006-11-01 Thread Tim Chase
I didn't know about @:, thanks! It's a very handy thing, though in earlier versions of vim if you had a literal control+M in the last command-line (as entered with a control+V followed by control+M), it would truncate the command-line at that point rather than re-issue that last

Re: active links for opening files

2006-11-01 Thread Michael M. Tung
Yakov Lerner [EMAIL PROTECTED] wrote: On 10/30/06, Michael M. Tung [EMAIL PROTECTED] wrote: Hi all: I am working on a simple plugin and want to make vim open a file which appears in text e.g. as [/tmp/test.txt] by clicking on it. The path and filename always appears in

RE: Searching

2006-11-01 Thread Daryl Lee
Press * in command mode while the cursor is over a word. Daryl -Original Message- From: Billy Patton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 9:23 AM To: vim@vim.org Subject: Searching In gvim I can hold the shift and double click over a word and it searches for

Re: Win32: use SHELL env var (was COMSPEC args don't reconfig on COMSPEC resest)

2006-11-01 Thread Linda W
A.J.Mechelynck wrote: Linda W wrote: Is there some other option to tell Vim not to use the DOS/Windows Shell options to non-DOS/Win shells? :-) I searched ... see :help 'shell' :help 'shellcmdflag' :help 'shellpipe' :help 'shellquote' :help 'shellredir' :help

Re: :g/^$/,/./-j

2006-11-01 Thread Tim Chase
http://www.geocities.com/volontir/ I read following: :g/^$/,/./-j - reduce multiple blank lines to a single blank I try to understand this, so let's break it up :g/^$/ is the easy part: it marks all blank lines ,/./-j is a riddle to me, Anybody cares to explain this to me? Easy enough.

Re: Fork process is not working on GVIM7 on solaris

2006-11-01 Thread art sm
On 11/1/06, Danek Duvall [EMAIL PROTECTED] wrote: On Tue, Oct 31, 2006 at 10:35:23PM -0500, art sm wrote: On 10/31/06, Yakov Lerner [EMAIL PROTECTED] wrote: Any subsequent synchronous commands do not work, or any subsequent async () commands do not work ? Can you possibly try strace to

Re: how to make 7.0 behave like 6.4

2006-11-01 Thread longraider
A.J.Mechelynck wrote: Do you mean Shift-[ or do you mean { ? (On my keyboard, { is not Shift-[ but AltGr-ç ). I mean { of course, that is shift-[ on my standard keyboard (whatever standard mean here ;-) With (in Insert mode) the sequence {Enter}UpEnters; I get: { s; } I'm

Re: active links for opening files

2006-11-01 Thread Yegappan Lakshmanan
Hello, On 11/1/06, Michael M. Tung [EMAIL PROTECTED] wrote: Yakov Lerner [EMAIL PROTECTED] wrote: On 10/30/06, Michael M. Tung [EMAIL PROTECTED] wrote: Hi all: I am working on a simple plugin and want to make vim open a file which appears in text e.g. as [/tmp/test.txt]

Re: Command line tab completion

2006-11-01 Thread panshizhu
A. S. Budden [EMAIL PROTECTED] 写于 2006-11-01 23:46:04: Is this because of the quotes (due to it being a setting) or the 'no' variation or is it because of something else? Is there any way to get round it? Many thanks in advance, Al Yes this is because of the quote. you should type :help

Re: Command line tab completion

2006-11-01 Thread Gary Johnson
On 2006-11-02, [EMAIL PROTECTED] wrote: A. S. Budden [EMAIL PROTECTED] 2006-11-01 23:46:04: Is this because of the quotes (due to it being a setting) or the 'no' variation or is it because of something else? Is there any way to get round it? Many thanks in advance, Al Yes

Re: Command line tab completion

2006-11-01 Thread panshizhu
Gary Johnson [EMAIL PROTECTED] 写于 2006-11-02 09:26:41: I don't think that's the issue, as I understand it. As another example, if I type This has bothered me for some time--it just never rose above my posting threshold until someone else brought it up first. What is your 'completeopt'

xhtml editing in vim

2006-11-01 Thread Vu The Cuong
I often use html script for editing html files. (see: http://www.vim.org/scripts/script.php?script_id=453) I prefer XHML compatible tags. (Ex: when press ;br, insteadof br, it will ouput /br. Can this script do that. If yes, could you guide me in detail? If No, is there script to do that? Thanks

Re: Command line tab completion

2006-11-01 Thread A.J.Mechelynck
A. S. Budden wrote: Dear all, When entering commands on the command line, I often use the completion facility by pressing tab. I have the wildmode set to longest:full. I have noticed a 'feature' that I find a little frustrating, however. If I type: :help preserTAB it offers me the choices:

Re: xhtml editing in vim

2006-11-01 Thread A.J.Mechelynck
Vu The Cuong wrote: I often use html script for editing html files. (see: http://www.vim.org/scripts/script.php?script_id=453) I prefer XHML compatible tags. (Ex: when press ;br, insteadof br, it will ouput /br. Shouldn't it rather output br / ? The BR element cannot have a closing tag.

Re: How to edit a macro

2006-11-01 Thread Theerasak Photha
On 11/1/06, Robert Cussons [EMAIL PROTECTED] wrote: Hi everyone, In a C programme for example is there a way to get Vim to ignore matches that are commented out when searching for a string? With / or ?, no. But you may be able to fold all comments.

Re: Command line tab completion

2006-11-01 Thread Gary Johnson
On 2006-11-02, [EMAIL PROTECTED] wrote: Gary Johnson [EMAIL PROTECTED] 2006-11-02 09:26:41: I don't think that's the issue, as I understand it. As another example, if I type This has bothered me for some time--it just never rose above my posting threshold until someone else