Re: Proposal: New command/feature for quickfix

2006-06-29 Thread Jochen Baier
On Wed, Jun 28, 2006 at 03:26:04PM -0700, Yegappan Lakshmanan wrote: Hi, On 6/28/06, Nikolai Weibull [EMAIL PROTECTED] wrote: On 6/28/06, Jochen Baier [EMAIL PROTECTED] wrote: On Wed, Jun 28, 2006 at 11:21:00PM +0200, Mikolaj Machowski wrote: Dnia ?roda, 28 czerwca 2006 22:07, Jochen

How to always open file in a tab ?

2006-06-29 Thread Eddine
Hello all, I'd like to take advantage of tab file editing, thus is it possible to modify windows registry base or is there any work around to _always_ open files in a tab ? Once again thank you bay advance for your precious help. Best regards Eddine.

Re: Authors

2006-06-29 Thread Seweryn Habdank-Wojewódzki
Hi # śro czerwca 28 2006 17:51, @ Tim Chase: I will be greatful if I can know how many people have made a code of vim (in the past and now). I have found 23 names of persons in files, but I suppose that there is more. Well, as Vim is extensible, I suppose what you consider vim

Re: How to always open file in a tab ?

2006-06-29 Thread Srinivas Rao. M
On Thu, 2006-06-29 at 13:30, Eddine wrote: Hello all, I'd like to take advantage of tab file editing, thus is it possible to modify windows registry base or is there any work around to _always_ open files in a tab ? Once again thank you bay advance for your precious help. You can use -p

Enhancement syntax/cpp.vim

2006-06-29 Thread hermitte
Hello, I'm looking for a way to define a few :syn-match'es before the definitions from cpp.vim, but after those of c.vim. My first idea was to have $HOME/.vim/syntax/cpp.vim defined this way: runtime! syntax/c.vim :syn match .. unlet b:current_syntax so

Re: How to always open file in a tab ?

2006-06-29 Thread Eddine
Thank you Srini. Is it possible to have this behaviour with the right-click Edit in (single) Vim context menu under win32 ?

Re: regexp select and place elsewhere

2006-06-29 Thread Jerin Joy
I need to use regexp. there are a lot of lines like these. I can't manually do it. Jerin On 6/29/06, Saurabh Jain [EMAIL PROTECTED] wrote: On 6/29/06, Jerin Joy [EMAIL PROTECTED] wrote: Hi, I have data that looks like this input [4:0] a.b.c.d; which I need to replace with input

RE: regexp select and place elsewhere

2006-06-29 Thread Vishnu
Hi Jerin, Use the following reg exp, :%s/\(\[\d\+:\d\+] \)\(.*\.\)\(\i\+\);/\2\3 \1\3;/ :h \( ~VIshnu -Original Message- From: Jerin Joy [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 2:29 PM To: vim@vim.org Subject: regexp select and place elsewhere Hi, I have

Re: regexp select and place elsewhere

2006-06-29 Thread Jerin Joy
Thanks guys, I was looking for the () Jerin On 6/29/06, Vishnu [EMAIL PROTECTED] wrote: Hi Jerin, Use the following reg exp, :%s/\(\[\d\+:\d\+] \)\(.*\.\)\(\i\+\);/\2\3 \1\3;/ :h \( ~VIshnu -Original Message- From: Jerin Joy [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29,

Re: How to always open file in a tab ?

2006-06-29 Thread Bernd Strohhäcker
Eddine wrote: Thank you Srini. Is it possible to have this behaviour with the right-click Edit in (single) Vim context menu under win32 ? Try adding -p to HKLM\Software\Vim\Gvim\path HTH, Bernd

Re: regexp select and place elsewhere

2006-06-29 Thread Christian Ebert
* Jerin Joy on Thursday, June 29, 2006 at 14:28:51 +0530: I have data that looks like this input [4:0] a.b.c.d; which I need to replace with input a.b.c.d [4:0] d; ie. I want to copy a.b.c.d and place it after input and replace it with d after [4:0]. :s/\(\[[^]]\+\]\)

Re: PHP fold html

2006-06-29 Thread Silent1
if i switch the foldmethod to marker all my functions/classes will unfold. The reason i created that other fold syntax is to be able to fold what ever i want inside syntax fold mehtod. Now i just need to be able to do now is to be able to fold html inside the syntax foldmethod. Thanks in advance.

Anchoring in a regex

2006-06-29 Thread Robert Hicks
syn match tclV ttk\(\(::\)\?\([[:alnum:]_.]*::\)*\)\a[a-zA-Z0-9_.]* I only want this to work ttk at the start. I know that ^ means the start but I am not sure how to add that (I did try just adding it) to make the regex start with ttk. Robert

Re: Anchoring in a regex

2006-06-29 Thread Tim Chase
syn match tclV ttk\(\(::\)\?\([[:alnum:]_.]*::\)*\)\a[a-zA-Z0-9_.]* I only want this to work ttk at the start. I know that ^ means the start but I am not sure how to add that (I did try just adding it) to make the regex start with ttk. Just put it at the beginning: ^ttk... just as

Disable Windows shortcuts in GVIM

2006-06-29 Thread Marc Demlenne
Hello, How is it possible, using GVIM, to forbid Windows executing commands destinated to VIM? e.g CTRL-V (Virtual select) is interpreted as Paste by MS. CTRL-A as select all, ... How can I disable this, and retrieve unix-like behaviour in my gvim ? Thanks very much for any help -- Marc

Re: Disable Windows shortcuts in GVIM

2006-06-29 Thread Tim Chase
How is it possible, using GVIM, to forbid Windows executing commands destinated to VIM? e.g CTRL-V (Virtual select) is interpreted as Paste by MS. CTRL-A as select all, ... How can I disable this, and retrieve unix-like behaviour in my gvim ? Likely your vimrc is directly or indirectly

Re: Enhancement of syntax/cpp.vim

2006-06-29 Thread hermitte
[EMAIL PROTECTED] wrote: I'm looking for a way to define a few :syn-match'es before the definitions from cpp.vim, but after those of c.vim. Well it seems it was not necessary in my precise case. I still have some troubles with priorities. Given my problem of enforcing good practices by

Re: Not able to switch between tabs on newly compiled vim 7

2006-06-29 Thread Benji Fisher
On Thu, Jun 29, 2006 at 04:59:53PM +0530, Jerin Joy wrote: Actually I installed vim7.0(on Linux Enterprise Edition). I am unable to switch between various tabs using CTRL-PAGEUP and CTRL-PAGEDN when i am using vim. It is working perfectly fine for gvim. Probably your terminal program

insert space after comma based on context

2006-06-29 Thread Zhang Le
Hi, Most of time I want a space after a comma, so I use imap , , The problem is, sometime I do not want a comma inside square brackets in some programming language such python and matlab: a[10,:] or a(10,:) Is there a way to not insert a space based on context around the cursor so

Re: Enhancement of syntax/cpp.vim

2006-06-29 Thread Yakov Lerner
On 6/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I'm looking for a way to define a few :syn-match'es before the definitions from cpp.vim, but after those of c.vim. Well it seems it was not necessary in my precise case. I still have some troubles with

Re: couple of debug mode issues

2006-06-29 Thread Hari Krishna Dara
On Wed, 28 Jun 2006 at 8:49pm, Yegappan Lakshmanan wrote: Hi Hari, On 6/28/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: I am seeing a couple of issues with debug mode. - In debug mode, the getcmdtype() is supposed to return '', but it returns empty string. This is not a big issue,

Re: Authors

2006-06-29 Thread Aaron Griffin
On 6/29/06, Seweryn Habdank-Wojewódzki [EMAIL PROTECTED] wrote: Finally I've found 383 authors :-). Hurry, someone go write a plugin and ++ that number!

a question about 'diff' setting

2006-06-29 Thread Hari Krishna Dara
I faced this issue a few times, so I thought I will ask here. When I am done with the vimdiff mode, I normally just close the windows or switch to other files. The problem is that Vim seems to remember that those buffers participate in the diff mode, so the next time I start a new vimdiff on

RE: a question about 'diff' setting

2006-06-29 Thread David Fishburn
-Original Message- From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 2:53 PM To: vim@vim.org Subject: a question about 'diff' setting ... Can anyone explain why and what I should do to avoid this (other than remembering to run :diffoff before

Re: a question about 'diff' setting

2006-06-29 Thread Tim Chase
The documentation says the 'diff' setting is local to window, so closing the windows show cancel the setting out, but when I try the below sequence on two related files say, x.old and x.new, it seems otherwise. Vim seems to keep the 'diff' information around in the same way it keeps marks in a

Re: a question about 'diff' setting

2006-06-29 Thread Yakov Lerner
On 6/29/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: When I am done with the vimdiff mode, I normally just close the windows or switch to other files. The problem is that Vim seems to remember that those buffers participate in the diff mode I just do :bw twice when I want to normally edit

Beta testers wanted for 6th Sense Analytics

2006-06-29 Thread mfaisst
Hi, My name is Michael Faisst, I am the Product Manager for 6th Sense Analytics. I am looking for some smart developers who understand their development environment like no other and who would like to join us in our Beta program. If you are that developer who knows VIM 6.4 or 7 inside out

Re: a question about 'diff' setting

2006-06-29 Thread Yegappan Lakshmanan
Hi David, On 6/29/06, David Fishburn [EMAIL PROTECTED] wrote: -Original Message- From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 2:53 PM To: vim@vim.org Subject: a question about 'diff' setting ... Can anyone explain why and what I should do to

A possible conflict between gvim and XP HyperTerminal?

2006-06-29 Thread phoenixl
Hi, I'm using Windows XP HyperTerminal in vt100 emulation mode to reach a linux box running gvim. When I bring up a file in gvim and try to scroll, only the left side scrolls in the HyperTerminal. Is this a known problem? Thanks. Scott

Re: Enhancement of syntax/cpp.vim

2006-06-29 Thread [EMAIL PROTECTED]
* On Thu, Jun 29, 2006 at 08:19:48PM +0300, Yakov Lerner [EMAIL PROTECTED] wrote: [...] I had similar problem, namely that syn-keyword (like static etc) prevent syn-match from matching the keywords. The detailed explanation and hint at possible solition is at:

RE: a question about 'diff' setting

2006-06-29 Thread Hari Krishna Dara
On Thu, 29 Jun 2006 at 2:59pm, David Fishburn wrote: -Original Message- From: Hari Krishna Dara [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 2:53 PM To: vim@vim.org Subject: a question about 'diff' setting ... Can anyone explain why and what I should do to avoid

Re: a question about 'diff' setting

2006-06-29 Thread Hari Krishna Dara
On Thu, 29 Jun 2006 at 2:07pm, Tim Chase wrote: The documentation says the 'diff' setting is local to window, so closing the windows show cancel the setting out, but when I try the below sequence on two related files say, x.old and x.new, it seems otherwise. Vim seems to keep the 'diff'

Re: insert space after comma based on context

2006-06-29 Thread Dr Bean
On Fri, 30 Jun 2006, Luc Hermitte wrote: * On Thu, Jun 29, 2006 at 02:45:16PM +0100, Zhang Le [EMAIL PROTECTED] wrote: Most of time I want a space after a comma, so I use imap , , The problem is, sometime I do not want a comma inside square brackets in some programming language such

Funcref and script local functions

2006-06-29 Thread Hari Krishna Dara
When Funcref's were introduced in Vim7, I expected them to work for script-local functions, across scripts. The documentation didn't say that, but it didn't say that it wouldn't either, and I thought that that is one of its biggest uses (other than the actual intended functionality, which is for