Re: Gvim on Windows doesn't remember its position and size

2011-10-31 Fir de Conversatie Ben Fritz
On Oct 31, 12:05 am, Дмитрий Франк dimon.fr...@gmail.com wrote: Gvim on Windows doesn't remember its position and size. I have two monitors, and Gvim always starts in the primary monitor and non-maximized. I have to everytime move it to another monitor and maximize. Other Windows

Re: Gvim on Windows doesn't remember its position and size

2011-10-31 Fir de Conversatie Walt Elam
2011/10/31 Дмитрий Франк dimon.fr...@gmail.com Gvim on Windows doesn't remember its position and size. I have two monitors, and Gvim always starts in the primary monitor and non-maximized. I have to everytime move it to another monitor and maximize. Other Windows applications remember its

Re: search results depend on length

2011-10-31 Fir de Conversatie Thilo Six
Tony Mechelynck wrote the following on 31.10.2011 00:08 Hello Tony, -- snip -- vi always matches wherever vim matches, so you have a kind of degenerate case here. Maybe what you wanted was /vi\%[m] or /vim\= See :help /\= :help /\%[] Best

bufnr(afile) fails (always return -1)

2011-10-31 Fir de Conversatie Дмитрий Франк
when executing autocommands, bufnr('afile') always return -1, bufname('afile') returns empty, but expand('afile') works. Ugly workaround is to use bufnr(expand('afile')) -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are replying to.

Re: search results depend on length

2011-10-31 Fir de Conversatie Ernie Rael
On 10/31/2011 10:31 AM, Thilo Six wrote: Tony Mechelynck wrote the following on 31.10.2011 00:08 Hello Tony, -- snip -- vi always matches wherever vim matches, so you have a kind of degenerate case here. Maybe what you wanted was /vi\%[m] or /vim\= See :help /\=

Re: search results depend on length

2011-10-31 Fir de Conversatie Ingo Karkat
On 31-Oct-2011 20:37, Ernie Rael wrote: Off topic, but I've been wondering... Is there an option to use perl/python syntax for RE? If not, would that be a welcome patch? Could it be done with vim's scripting? Both have unique constructs, cp. :help perl-patterns. Also an optional string

Re: search results depend on length

2011-10-31 Fir de Conversatie Ernie Rael
On 10/31/2011 12:53 PM, Ingo Karkat wrote: On 31-Oct-2011 20:37, Ernie Rael wrote: Off topic, but I've been wondering... Is there an option to use perl/python syntax for RE? If not, would that be a welcome patch? Could it be done with vim's scripting? Both have unique constructs, cp. :help

Re: search results depend on length

2011-10-31 Fir de Conversatie Tony Mechelynck
On 31/10/11 18:31, Thilo Six wrote: [...] Thanks for the pointer. There are quite a lot of search atoms. Although i'll always try to look at 'pattern-atoms' i obviously have to learn. Which is quite fun sometimes. It is like playing vim-chess. Kind of. But it is quite a lot less fun if you are

Re: bufnr(afile) fails (always return -1)

2011-10-31 Fir de Conversatie Tony Mechelynck
On 31/10/11 20:16, Дмитрий Франк wrote: when executing autocommands, bufnr('afile') always return -1, bufname('afile') returns empty, but expand('afile') works. Ugly workaround is to use bufnr(expand('afile')) I can reproduce this (on gvim 7.3.353 (Huge) with GTK2/Gnome2 GUI) but it seems

Re: search results depend on length

2011-10-31 Fir de Conversatie Christian Brabandt
On Mo, 31 Okt 2011, Ernie Rael wrote: It's similar, but a list of chars that need escaping is more flexible. I could specify that '(' needs to be escaped to mean grouping and that '?' does not need to be escaped to mean optional. Using the list could be dependent on the magic-ness of a

ttymouse=urxvt documentation

2011-10-31 Fir de Conversatie Taylor Hedberg
Patch 7.3.343 introduced improved mouse support for Vim when running in the urxvt terminal. It requires that the 'ttymouse' option be set to urxvt in order to enable the new mouse support. Since the patch, strange behavior sometimes occurs (such as ignored mouse events) if ttymouse is left at its

Re: ttymouse=urxvt documentation

2011-10-31 Fir de Conversatie Tony Mechelynck
On 31/10/11 23:05, Taylor Hedberg wrote: Patch 7.3.343 introduced improved mouse support for Vim when running in the urxvt terminal. It requires that the 'ttymouse' option be set to urxvt in order to enable the new mouse support. Since the patch, strange behavior sometimes occurs (such as

Re: Update for the ssh_config syntax file

2011-10-31 Fir de Conversatie Leonard Ehrenfried
Bram, I have made a mistake with the earlier email and send the wrong files as I must have mixed them up. Attached is the corrected version. Sorry for the mix up Leonard On 27 October 2011 23:49, Leonard Ehrenfried leonard.ehrenfr...@web.dewrote: Bram, As David has said that he is no