Re: No Previous Regular expression

2007-05-31 Thread Yeti
On Thu, May 31, 2007 at 03:52:29AM +0200, A.J.Mechelynck wrote: Tim Johnson wrote: Using vim 7.0 on kubuntu 7.04 (feisty fawn amd 64) I've recently migrated from vim 6-something on slack 10.0 On my previous version and box, if I searched on an expression in one file, closed it and opened

Re: plugins in vim 7.1

2007-05-31 Thread panshizhu
Tushar Desai [EMAIL PROTECTED] 写于 2007-05-31 13:51:28: I recently upgraded from vim 7.0 to vim 7.1 (on ubuntu feisty) by compiling the vim7.1 tarball. Did you make install from the tarball? If compiled from tarball, the prefix defaults to /usr/local, while the ubuntu official version will be in

Re: JSVI: Vi implemented in Javascript

2007-05-31 Thread Matthew Winn
On Wed, 30 May 2007 14:21:27 -0400, Kevin Old [EMAIL PROTECTED] wrote: Not sure if everyone's seen this, but it's definitely cool and quite accurate. http://ajaxian.com/archives/jsvi-you-love-vi-you-love-javascript-now-you-have-both Unfortunately, in Opera it detects shift-presses as extra

[Fwd: Re: No Previous Regular expression]

2007-05-31 Thread A.J.Mechelynck
Forward to list. Best regards, Tony. Original Message Subject: Re: No Previous Regular expression Date: Wed, 30 May 2007 20:02:36 -0700 From: [EMAIL PROTECTED] To: A.J.Mechelynck [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] Quoting A.J.Mechelynck [EMAIL

how to ..... compiler

2007-05-31 Thread Jagpreet
Hi There, I can't make use of built-in compiler facility in vim. Tried the help files(quickfix and FAQ) as well but couldn't get much about the same. I want to compile a project, where the files are distributed among different directories. I have my own makefile but want to make use

Re: OT: Vi in a browser...

2007-05-31 Thread A.J.Mechelynck
Edward L. Fox wrote: [...] A friend told me that he is developing a Firefox addon to emulate the Vi/Vim behaviors in all text areas in Firefox, without launching external applications. I'm looking forward to it. [...] I don't think any Vim extension aiming at reproducing Vim's behaviour

Re: plugins in vim 7.1

2007-05-31 Thread A.J.Mechelynck
[EMAIL PROTECTED] wrote: Tushar Desai [EMAIL PROTECTED] 写于 2007-05-31 13:51:28: I recently upgraded from vim 7.0 to vim 7.1 (on ubuntu feisty) by compiling the vim7.1 tarball. Did you make install from the tarball? If compiled from tarball, the prefix defaults to /usr/local, while the ubuntu

starting a second vim session in diff mode from out first vim

2007-05-31 Thread Eric Leenman
Hi, Is it possible from a first gvim session to init a second gvim session in diff mode? And this diff mode should then use the two files that are used in the first gvim session? So if A.TXT and B.TXT are used in the first, the second should show the difference in the second gvim session?

Scrolling marquee text on vim status bar

2007-05-31 Thread Srinivas Rao. M
HI Vimmers, Is it possible to have a horizontal text to run horizontally on marquee ? regards, Srini...

copying text char-by-char from the line above line..

2007-05-31 Thread Ajay Gupta
Hi All, I saw one of my friends (once!) copying the text from the line right above. He was using some keycombo and it would appear like he was copying the characters one-by-one. So, if there are two lines like quick brown fox I see and on the 2nd line, after 'see', i wanted to copy 'brown fox'

Re: copying text char-by-char from the line above line..

2007-05-31 Thread Vincent Aravantinos
Le 31 mai 07 à 15:14, Ajay Gupta a écrit : Hi All, I saw one of my friends (once!) copying the text from the line right above. He was using some keycombo and it would appear like he was copying the characters one-by-one. So, if there are two lines like quick brown fox I see and on the 2nd

Re: copying text char-by-char from the line above line..

2007-05-31 Thread Andy Wokula
Ajay Gupta schrieb: Hi All, I saw one of my friends (once!) copying the text from the line right above. He was using some keycombo and it would appear like he was copying the characters one-by-one. So, if there are two lines like quick brown fox I see and on the 2nd line, after 'see', i

good keys for mappings

2007-05-31 Thread Arn
Hi, Any suggestions on keys/key combos that are good candidates for custom mappings etc? Maybe a dumb question but I hate having to unlearn something, I'd like to create a fair number of mappings that use a consistent convention and won't conflict with anything existing. I think Bram

Re: good keys for mappings

2007-05-31 Thread Tim Chase
Any suggestions on keys/key combos that are good candidates for custom mappings etc? [snip] I think Bram mentioned he's found prefixing with _ works well.. I believe that the backslash (\) is the only stand-alone lower-ASCII character available for mappings, and thus is the default

Re: good keys for mappings

2007-05-31 Thread Peter Palm
Op donderdag 31 mei 2007, schreef Arn: Hi, Any suggestions on keys/key combos that are good candidates for custom mappings etc? Maybe a dumb question but I hate having to unlearn something, I'd like to create a fair number of mappings that use a consistent convention and won't conflict

Re: copying text char-by-char from the line above line..

2007-05-31 Thread François Pinard
[Andy Wokula] Ajay Gupta schrieb: I saw one of my friends (once!) copying the text from the line right above. :h i_Ctrl-Y At first, I had some difficulty remembering Ctrl-Y, until I decided that Y was a picture of what was going on: that is, funneled from above. Now, I use it very

Re: good keys for mappings

2007-05-31 Thread François Pinard
[Arn] Any suggestions on keys/key combos that are good candidates for custom mappings etc? The usual is \ followed by something. I initially fought this convention, because \ is a bit hard to type on my keyboard, and tried other things instead, with various levels of conflicts and

Re: good keys for mappings

2007-05-31 Thread DervishD
Hi Arn :) * Arn [EMAIL PROTECTED] dixit: Any suggestions on keys/key combos that are good candidates for custom mappings etc? Maybe a dumb question but I hate having to unlearn something, I'd like to create a fair number of mappings that use a consistent convention and won't

Re: good keys for mappings

2007-05-31 Thread Yeti
On Thu, May 31, 2007 at 11:15:18AM -0400, François Pinard wrote: I think Bram mentioned he's found prefixing with _ works well.. The _ key is sometimes suggested as well, and some say it is unused. But this is not true, _ is a very useful command for me (it brings the cursor back at the

Re: No Previous Regular expression

2007-05-31 Thread Tim Johnson
On Wednesday 30 May 2007, David Nečas wrote: If you close and reopen Vim, the last search pattern is remembered -- or not -- in the viminfo file. (It is one of the registers.) The search history can also be saved. See :help 'viminfo'. Yes, search history is being saved. And since this

Re: copying text char-by-char from the line above line..

2007-05-31 Thread Tobia
François Pinard wrote: At first, I had some difficulty remembering Ctrl-Y, until I decided that Y was a picture of what was going on: that is, funneled from above. Now, I use it very often. Ctrl-E copies from the line below, often useful too, yet it is harder to see an upside-down Y into E

Re: plugins in vim 7.1

2007-05-31 Thread A.J.Mechelynck
Tushar Desai wrote: I had done a make install for vim7.1 and that's how the /usr/local/share/vim71/... dir structure was created on my machine. Also, the directory is plugin and not plugins (which was my typo in the email). The makeparens.vim plugin has stopped working in Fedora Core 6 as

Re: starting a second vim session in diff mode from out first vim

2007-05-31 Thread A.J.Mechelynck
Eric Leenman wrote: Hi, Is it possible from a first gvim session to init a second gvim session in diff mode? And this diff mode should then use the two files that are used in the first gvim session? So if A.TXT and B.TXT are used in the first, the second should show the difference in the

Re: No Previous Regular expression

2007-05-31 Thread fREW
On 5/31/07, Tim Johnson [EMAIL PROTECTED] wrote: On Wednesday 30 May 2007, David Nečas wrote: If you close and reopen Vim, the last search pattern is remembered -- or not -- in the viminfo file. (It is one of the registers.) The search history can also be saved. See :help 'viminfo'.

Re: good keys for mappings

2007-05-31 Thread A.J.Mechelynck
Arn wrote: Hi, Any suggestions on keys/key combos that are good candidates for custom mappings etc? Maybe a dumb question but I hate having to unlearn something, I'd like to create a fair number of mappings that use a consistent convention and won't conflict with anything existing. I

Re: good keys for mappings

2007-05-31 Thread A.J.Mechelynck
DervishD wrote: Hi Arn :) * Arn [EMAIL PROTECTED] dixit: Any suggestions on keys/key combos that are good candidates for custom mappings etc? Maybe a dumb question but I hate having to unlearn something, I'd like to create a fair number of mappings that use a consistent convention and

Re: No Previous Regular expression

2007-05-31 Thread Tim Johnson
On Thursday 31 May 2007, fREW wrote: ... If this list had a FAQ, it would probably contain this issue and the large file issue (and maybe something about bottom posting :-P ) So you are certainly not alone. 1)What is the large file issue? (you can just point me to archives, if any) thanks tim

Re: good keys for mappings

2007-05-31 Thread DervishD
Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: But I'd say the F keys are the safest in general, especially when taking portability into account. Of course: if you plan to use more than one vim or more than one keyboard type, the F keys are the best choice. In fact, for complex

Re: good keys for mappings

2007-05-31 Thread A.J.Mechelynck
DervishD wrote: Hi Tony :) * A.J.Mechelynck [EMAIL PROTECTED] dixit: But I'd say the F keys are the safest in general, especially when taking portability into account. Of course: if you plan to use more than one vim or more than one keyboard type, the F keys are the best choice. In

install new syntax file

2007-05-31 Thread DM
Hi, I'm using gVim on windows. I've created an lzx.vim syntax file and dropped it into C:\Program Files\Vim\vim70\syntax. It works fine if I execute: :cal setSyn(lzx) However this syntax is not available from the syntax menu and vim does not automatically use this syntax when I open files

Vim (or any editor) meets Firefox in a meaningful way

2007-05-31 Thread Keith W
Sorry if this is known but this is a really cool way to have a Vim/Firefox marriage. :) https://addons.mozilla.org/en-US/firefox/addon/4125 Cheers, Keith

Re: install new syntax file

2007-05-31 Thread A.J.Mechelynck
DM wrote: Hi, I'm using gVim on windows. I've created an lzx.vim syntax file and dropped it into C:\Program Files\Vim\vim70\syntax. It works fine if I execute: :cal setSyn(lzx) However this syntax is not available from the syntax menu and vim does not automatically use this syntax when I

Retaining undo levels

2007-05-31 Thread Виктор Кожухаров
Hi, Is there a way to retain the undo levels, even when the buffer is not loaded in any windows/tabs? Right now, whenever I open another file in a window, the previous file loses it's undo levels, even though it is still inside the buffer list. -- Виктор Кожухаров /Viktor Kojouharov/

Re: plugins in vim 7.1

2007-05-31 Thread A.J.Mechelynck
see my comments interspersed and at bottom Tushar Desai wrote: Thanks Tony; here's the output :scriptfiles /usr/local/share/vim/vim71/plugin/cscope_maps.vim 2: /usr/local/share/vim/vim71/plugin/getscriptPlugin.vim 3: /usr/local/share/vim/vim71/plugin/gzip.vim 4:

Re: Retaining undo levels

2007-05-31 Thread A.J.Mechelynck
Виктор Кожухаров wrote: Hi, Is there a way to retain the undo levels, even when the buffer is not loaded in any windows/tabs? Right now, whenever I open another file in a window, the previous file loses it's undo levels, even though it is still inside the buffer list. I /think/ the undo

Re: No Previous Regular expression

2007-05-31 Thread fREW
On 5/31/07, Tim Johnson [EMAIL PROTECTED] wrote: On Thursday 31 May 2007, fREW wrote: ... If this list had a FAQ, it would probably contain this issue and the large file issue (and maybe something about bottom posting :-P ) So you are certainly not alone. 1)What is the large file issue? (you

can't diffsplit

2007-05-31 Thread Lev Lvovsky
I have two files which I'd like to compare via diffsplit in an existing vim session - trying to do so by issuing ':diffsplit filename' when the other one is already in the window gets me the error: E97: Cannot create diffs I can properly open the diff in a separate instance via 'vimdiff',

Re: Retaining undo levels

2007-05-31 Thread Tim Chase
Is there a way to retain the undo levels, even when the buffer is not loaded in any windows/tabs? Right now, whenever I open another file in a window, the previous file loses it's undo levels, even though it is still inside the buffer list. Just to make sure I understand, you're talking about

Re: Retaining undo levels

2007-05-31 Thread Виктор Кожухаров
В чт, 2007-05-31 в 16:19 -0500, Tim Chase написа: Is there a way to retain the undo levels, even when the buffer is not loaded in any windows/tabs? Right now, whenever I open another file in a window, the previous file loses it's undo levels, even though it is still inside the buffer

Re: Retaining undo levels

2007-05-31 Thread Виктор Кожухаров
В чт, 2007-05-31 в 22:09 +0200, A.J.Mechelynck написа: Виктор Кожухаров wrote: Hi, Is there a way to retain the undo levels, even when the buffer is not loaded in any windows/tabs? Right now, whenever I open another file in a window, the previous file loses it's undo levels, even

Re: Retaining undo levels

2007-05-31 Thread A.J.Mechelynck
Виктор Кожухаров wrote: В чт, 2007-05-31 в 22:09 +0200, A.J.Mechelynck написа: Виктор Кожухаров wrote: Hi, Is there a way to retain the undo levels, even when the buffer is not loaded in any windows/tabs? Right now, whenever I open another file in a window, the previous file loses it's undo

Re: can't diffsplit

2007-05-31 Thread A.J.Mechelynck
Lev Lvovsky wrote: I have two files which I'd like to compare via diffsplit in an existing vim session - trying to do so by issuing ':diffsplit filename' when the other one is already in the window gets me the error: E97: Cannot create diffs I can properly open the diff in a separate

Re: can't diffsplit

2007-05-31 Thread Lev Lvovsky
On May 31, 2007, at 3:02 PM, A.J.Mechelynck wrote: Lev Lvovsky wrote: I have two files which I'd like to compare via diffsplit in an existing vim session - trying to do so by issuing ':diffsplit filename' when the other one is already in the window gets me the error: E97: Cannot create

Re: plugins in vim 7.1

2007-05-31 Thread A.J.Mechelynck
Tushar Desai wrote: Hi Tony, which patches are you referring to? if download latst vim7.1 tarball, will it have the patches? thanks for your help, -tushar. No. The patches are in ftp://ftp.vim.org/pub/vim/patches/7.1/ and are _in addition_ to the tarball which is 7.1.0. See

how can I add this feature to vim!!

2007-05-31 Thread jaywee
mostly when I press {, I have to press one more } after, because they are always appears at the same time! the same as () [], and also the quote mark(). so I wonder how can I add the feature that when I insert { or the other punctuations above, it will automatically add } !!! besides, I

Re: confirm unsubscribe from vim@vim.org

2007-05-31 Thread Spencer Collyer
On 1 Jun 2007 06:00:36 -, [EMAIL PROTECTED] wrote: Hi! This is the ezmlm program. I'm managing the vim@vim.org mailing list. To confirm that you would like [EMAIL PROTECTED] removed from the vim mailing list, please send an empty reply to this address: [EMAIL PROTECTED]

Re: OT: Vi in a browser...

2007-05-31 Thread Yongwei Wu
On 31/05/07, A.J.Mechelynck [EMAIL PROTECTED] wrote: Edward L. Fox wrote: [...] A friend told me that he is developing a Firefox addon to emulate the Vi/Vim behaviors in all text areas in Firefox, without launching external applications. I'm looking forward to it. [...] I don't think any Vim

GSoC Regexp engine

2007-05-31 Thread Ian Young
Hi all, I'm Ian, one of the two students working on improving the regexp engine in Vim for this year's Google Summer of Code. I haven't had a whole lot to contribute as of yet, but now that work is underway, I'll probably pop up here asking lots of questions some days. Right now we're working

Re: GSoC Regexp engine

2007-05-31 Thread Brian Gupta
I have also heard good things about the PCRE (Perl Compatible Regex Library). You may want to consider it as an option. http://www.pcre.org/ -Brian On 5/31/07, Ian Young [EMAIL PROTECTED] wrote: Hi all, I'm Ian, one of the two students working on improving the regexp engine in Vim for this

Re: GSoC Regexp engine

2007-05-31 Thread Nikolai Weibull
On 5/31/07, Brian Gupta [EMAIL PROTECTED] wrote: I have also heard good things about the PCRE (Perl Compatible Regex Library). You may want to consider it as an option. PCRE is crap. It is crap, because it uses the same, crappy, backtracking method that Vim, and most other crappy regex (note:

Re: GSoC Regexp engine

2007-05-31 Thread Nikolai Weibull
On 5/31/07, Ian Young [EMAIL PROTECTED] wrote: I'm Ian, one of the two students working on improving the regexp engine in Vim for this year's Google Summer of Code. I haven't had a whole lot to contribute as of yet, but now that work is underway, I'll probably pop up here asking lots of

Re: GSoC Regexp engine

2007-05-31 Thread Charles E Campbell Jr
Ian Young wrote: I have a couple questions to start things off. First: I couldn't see much need for 'fuzzy matching' in Vim, but some of you are probably much better acquainted with regexp use cases than I am. Would this be a useful feature to have available? As you likely know, fuzzy

Re: GSoC Regexp engine

2007-05-31 Thread Nikolai Weibull
On 5/31/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote: What I think could be more useful would be boolean logic for regexp. My LogiPat plugin provides this capability, but undoubtedly it'd be better if somehow it could be incorporated. The resulting patterns from LogiPat seem to me to be

Re: GSoC Regexp engine

2007-05-31 Thread Nikolai Weibull
On 5/31/07, Nikolai Weibull [EMAIL PROTECTED] wrote: What would be even cooler would be to use regular relations, as that would allow for far superior substitution possibilities to what :substitute has to offer. (Someone asked off-list what regular relations were. If anyone else is

Defining new visual-mode motions?

2007-05-31 Thread Joseph Barker
Hello, all. I was recently helping someone out with a vim script (camelcasemotion.vim) which adds additional motion commands (they treat camel-cased words (WordsLikeThis) as separate words, rather than as a single word). This is easy enough to do in normal and operator-pending mode. It seems

Re: confirm unsubscribe from vim-dev@vim.org

2007-05-31 Thread Spencer Collyer
On 1 Jun 2007 05:59:49 -, [EMAIL PROTECTED] wrote: Hi! This is the ezmlm program. I'm managing the vim-dev@vim.org mailing list. To confirm that you would like [EMAIL PROTECTED] removed from the vim-dev mailing list, please send an empty reply to this address: [EMAIL