Plugin management

2007-03-20 Thread Ian Tegebo
After using vimballs, GetLatestVimScripts, and its autoinstall, I wonder what the larger group has thought about in terms of plugin management, dependencies, and standards. I find that some of my favorite plugins require certain versions of one another, or vim7. In general, I know this is consid

Re: Copying a Massive amount of text to the clipboard

2007-03-20 Thread A.J.Mechelynck
mas wrote: Hello, I have a 9MB XML files I am working with. I would like to select a block of about 90,000 lines in a file and copy them to the clipboard so they can be pasted in another file. Doing this with the mouse would probably take until the sun burns out. Is there anyway to

Re: skip load on interrupt

2007-03-20 Thread Yakov Lerner
On 3/20/07, J.D. Laub <[EMAIL PROTECTED]> wrote: I recently installed 7.0 and have noticed some undesirable behavior; I'm expecting there's a config option that already exists and I'm just missing it in the docs. Suppose I run "vim *" and there happens to be some very large files in the director

Re: missing some easy integration in gnome?

2007-03-20 Thread A.J.Mechelynck
Andrea Ratto wrote: I think we are missing some easy integration with gnome desktop. Here is how I got to think so: I was working with some files on a remote folder using nautilus and noticed I could open remote text files with gedit transparently; but that did not work with gvim. I knew vim can

OT: More vs. less (Was: Consistently exit "message display" with 'q'?)

2007-03-20 Thread A.J.Mechelynck
fREW wrote: On 3/20/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: cga2000 wrote: > On Mon, Mar 19, 2007 at 11:50:12PM EST, A.J.Mechelynck wrote: > > [..] > > "more" shows the colors with no problem. In general, I use: >> - less >> - when there is a long listing which I want to be able to scrol

Re: Consistently exit "message display" with 'q'?

2007-03-20 Thread fREW
On 3/20/07, A.J.Mechelynck <[EMAIL PROTECTED]> wrote: cga2000 wrote: > On Mon, Mar 19, 2007 at 11:50:12PM EST, A.J.Mechelynck wrote: > > [..] > > "more" shows the colors with no problem. In general, I use: >> - less >> - when there is a long listing which I want to be able to scroll back and >>

netrw: gracefully recovering from botched login

2007-03-20 Thread Marv Boyes
Hello, all. This is going to seem painfully basic, I'm sure, but I haven't been able to find an answer elsewhere. I often use Vim to edit files over a network, and I have an unfortunate propensity for mis-typing my passwords on the first try. Also unfortunately, I find that the only way I can

Re: Copying a Massive amount of text to the clipboard

2007-03-20 Thread maskkkk
And a massive "thank you" to you for your words of advice! Theerasak Photha wrote: > > On 3/20/07, mas <[EMAIL PROTECTED]> wrote: >> >> Hello, >> >> I have a 9MB XML files I am working with. >> >> I would like to select a block of about 90,000 lines in a file and copy >> them >> to the clip

Re: Consistently exit "message display" with 'q'?

2007-03-20 Thread A.J.Mechelynck
cga2000 wrote: On Mon, Mar 19, 2007 at 11:50:12PM EST, A.J.Mechelynck wrote: [..] "more" shows the colors with no problem. In general, I use: - less - when there is a long listing which I want to be able to scroll back and forth, or to search with a / command - not when there are interspe

Re: Copying a Massive amount of text to the clipboard

2007-03-20 Thread Theerasak Photha
On 3/20/07, mas <[EMAIL PROTECTED]> wrote: Hello, I have a 9MB XML files I am working with. I would like to select a block of about 90,000 lines in a file and copy them to the clipboard so they can be pasted in another file. Doing this with the mouse would probably take until the sun burn

Copying a Massive amount of text to the clipboard

2007-03-20 Thread maskkkk
Hello, I have a 9MB XML files I am working with. I would like to select a block of about 90,000 lines in a file and copy them to the clipboard so they can be pasted in another file. Doing this with the mouse would probably take until the sun burns out. Is there anyway to say to vim: "Sta

Re: inserting newlines

2007-03-20 Thread Greg Matheson
On Tue, 20 Mar 2007, Tim Chase wrote: > >>>one issue that both of us have is that we create newlines with o or O > >>>and then go back to normal mode immediately afterwards. > >>I have this mapping > >> noremap i > >>in my vimrc, so I *do* do it with one keystroke > >>(the Enter in normal mode

missing some easy integration in gnome?

2007-03-20 Thread Andrea Ratto
I think we are missing some easy integration with gnome desktop. Here is how I got to think so: I was working with some files on a remote folder using nautilus and noticed I could open remote text files with gedit transparently; but that did not work with gvim. I knew vim can handle editing over s

Re: Close tab / delete buffer?

2007-03-20 Thread Tobia
Yakov Lerner wrote: > I think you want to >:set nohidden > to avoid this. Does this help? Yes, thank you! Tobia

Re: Close tab / delete buffer?

2007-03-20 Thread Yakov Lerner
On 3/20/07, Tobia <[EMAIL PROTECTED]> wrote: I'm an avid user of the new tabbed interface in Vim 7, maybe because I never understood how to use hidden buffers effectively. One of the things I dislike about Vim's tabs is that when I close one, by means of :q or ZZ, its buffer is not deleted. Thi

Re: highlighting "weird" characters...[solved]

2007-03-20 Thread Mitch Wiedemann
Tobia wrote: > Mitch Wiedemann wrote: > >> " maps to quickly find Unicode characters within the document >> map ,uni :match Error /[\x7f-\xff]/ >> map ,uni2 /[^ -~] >> > > FYI [\x7f-\xff] doesn't find non-ASCII characters that are also outside > Latin-1, such as em-dash —, typographic quote

Re: highlighting "weird" characters...[solved]

2007-03-20 Thread Tobia
Mitch Wiedemann wrote: > " maps to quickly find Unicode characters within the document > map ,uni :match Error /[\x7f-\xff]/ > map ,uni2 /[^ -~] FYI [\x7f-\xff] doesn't find non-ASCII characters that are also outside Latin-1, such as em-dash —, typographic quotes “”, ellipsis …, and the hundred th

Close tab / delete buffer?

2007-03-20 Thread Tobia
I'm an avid user of the new tabbed interface in Vim 7, maybe because I never understood how to use hidden buffers effectively. One of the things I dislike about Vim's tabs is that when I close one, by means of :q or ZZ, its buffer is not deleted. This means that my Vim accumulates open file desc

skip load on interrupt

2007-03-20 Thread J.D. Laub
I recently installed 7.0 and have noticed some undesirable behavior; I'm expecting there's a config option that already exists and I'm just missing it in the docs. Suppose I run "vim *" and there happens to be some very large files in the directory. While vim is loading a big file into its buffer

Re: Updated Windows installer 7.0.219

2007-03-20 Thread fREW
On wtorek 20 marzec 2007, vim@vim.org wrote: > firewall our build machine sits behind. So I'm open to solutions for > how to remove obsoletes from the file set. I had considered deleting > the oldest files, but in most cases (such as the current) the files to > be removed are generally newer than

Re: Updated Windows installer 7.0.219

2007-03-20 Thread Mikolaj Machowski
On wtorek 20 marzec 2007, vim@vim.org wrote: > firewall our build machine sits behind. So I'm open to solutions for > how to remove obsoletes from the file set. I had considered deleting > the oldest files, but in most cases (such as the current) the files to > be removed are generally newer than t

Re: Consistently exit "message display" with 'q'?

2007-03-20 Thread Bram Moolenaar
Jean-Rene David wrote: > * Bram Moolenaar [2007.03.20 11:45]: > > > How many times did I repeat a command just because > > > I had pressed one time too many... > > > > You can type "g<" to go back to the messages. > > Thanks! Didn't know about that. > > Reading the help, this only brings back

Re: Consistently exit "message display" with 'q'?

2007-03-20 Thread Jean-Rene David
* Bram Moolenaar [2007.03.20 11:45]: > > How many times did I repeat a command just because > > I had pressed one time too many... > > You can type "g<" to go back to the messages. Thanks! Didn't know about that. Reading the help, this only brings back the last viewed page of messages though. N

Re: highlighting "weird" characters...[solved]

2007-03-20 Thread Mitch Wiedemann
Mitch Wiedemann wrote: > Hi all, > > I use VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 23 2007 22:17:23) > to write mainly XHTML/PHP and I sometimes have to get content from word > processed documents and paste it into Vim for HTML markup. This usually > results in having non-visually detectab

Re: help with \z

2007-03-20 Thread Tom Whittock
\zs means "begin the match here" so you can put it into a search term, and the term before \zs is used to position the match, but is not included within it. the other end can be done, as well - anchoring the match at the end using \ze HTH Tom. On 20/03/07, Brian McKee <[EMAIL PROTECTED]> wrote

Re: help with \z

2007-03-20 Thread Tim Chase
Tim's recent post got me looking at \z I've read :h :syn-ext-match but it's gibberish to me at the moment the \zs and \ze modifiers are handy ways ot indicating where any replacements start/end. Their documentation can be found at :help /\zs :help /\ze The :help syn-

Re: inserting newlines

2007-03-20 Thread Tim Chase
one issue that both of us have is that we create newlines with o or O and then go back to normal mode immediately afterwards. I have this mapping noremap i in my vimrc, so I *do* do it with one keystroke (the Enter in normal mode). That's an idea! I use a lot in normal mode to move down

Re: Consistently exit "message display" with 'q'?

2007-03-20 Thread Bram Moolenaar
Jean-Rene David wrote: > * [EMAIL PROTECTED] [2007.03.19 22:30]: > > The more frustrating thing is: if I continuously > > scroll down in the 'more-prompt' mode, the > > 'more-prompt' will eventually quits the display > > and the message are disappeared forever, so I > > must be careful NOT to pre

Updated Windows installer 7.0.219

2007-03-20 Thread Steve Hall
I don't normally notify this list of updates to our Windows installer: http://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721 but we've modified this latest version to remove the existing Vim installation prior to installation by default. (It only removes vim\vim70, not you

help with \z

2007-03-20 Thread Brian McKee
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, Tim's recent post got me looking at \z I've read :h :syn-ext-match but it's gibberish to me at the moment Can someone break down how this suggestion works? If you want to delete everything after the 2nd comma, you can use :%s/,[^,]*

Re: replace command

2007-03-20 Thread Tom Whittock
/123\(45\)[EMAIL PROTECTED] add \w* to the end of the pattern to include 46 and 57 in the search result, to match to the end of the word, and add \< to the beginning of the pattern to match for 123 only at the beginning of a word. Cheers. On 20/03/07, Bin Chen <[EMAIL PROTECTED]> wrote: I want

RE: replace command

2007-03-20 Thread Timothy Adams
/123\([^4]\|4[^5]\)/ Keep in mind this would match 123ab As well. *tim* -Original Message- From: Bin Chen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 9:29 AM To: Vim ML Subject: replace command I want to know a command for this: a word start with 123 but NOT followed by

Re: replace command

2007-03-20 Thread Tim Chase
I want to know a command for this: a word start with 123 but NOT followed by 45, such as 12346 12357 are match, only 12345 not match. The regexp you're looking for would be something like \<123\(45\)[EMAIL PROTECTED] That breaks down as \< the beginning of a word 123 the stu

Re: highlighting "weird" characters... Thanks everyone!

2007-03-20 Thread Mitch Wiedemann
Thanks everyone for your suggestions! I'm now looking around for a typical document that I can paste in to use a a guinea pig. Viva la Vim!

replace command

2007-03-20 Thread Bin Chen
I want to know a command for this: a word start with 123 but NOT followed by 45, such as 12346 12357 are match, only 12345 not match. Thanks. abai

Re: highlighting "weird" characters...

2007-03-20 Thread Tobia
Mitch Wiedemann wrote: > non-visually detectable characters (which I assume are high ASCII) If I may nitpick, "high ASCII" is not the right terminology here. The ASCII table only contains 128 characters, with codes 0…127 (where only codes 32…126 have a visual representation.) What you call "hig

Re: inserting newlines

2007-03-20 Thread Mr. Shawn H. Corey
Greg Matheson wrote: On Tue, 20 Mar 2007, Yakov Lerner wrote: On 3/19/07, fREW <[EMAIL PROTECTED]> wrote: one issue that both of us have is that we create newlines with o or O and then go back to normal mode immediately afterwards. I have this mapping noremap i in my vimrc, so I *do*

Re: Mapping: Pick occurance of word under cursor, vim7-style

2007-03-20 Thread Marc Weber
On Thu, Feb 08, 2007 at 01:30:37PM +0100, Thomas Michael Engelke wrote: > Hello! > > I am using the following mapping: > > map [I:let nr = input("Match: ")exe "normal " . nr ."[\t" I've now implemented a small outline utility based on regex At the moment it opens another window and shows a list

Re: inserting newlines

2007-03-20 Thread Greg Matheson
On Tue, 20 Mar 2007, Yakov Lerner wrote: > On 3/19/07, fREW <[EMAIL PROTECTED]> wrote: > >one issue that both of us have is that we create newlines with o or O > >and then go back to normal mode immediately afterwards. > I have this mapping >noremap i > in my vimrc, so I *do* do it with one

Re: Consistently exit "message display" with 'q'?

2007-03-20 Thread cga2000
On Mon, Mar 19, 2007 at 11:50:12PM EST, A.J.Mechelynck wrote: [..] "more" shows the colors with no problem. In general, I use: > > - less > - when there is a long listing which I want to be able to scroll back and > forth, or to search with a / command > - not when there are interspersed AN

Re: inserting newlines

2007-03-20 Thread Yakov Lerner
On 3/19/07, fREW <[EMAIL PROTECTED]> wrote: Hi all, I was recently discussing some features of vim that I use a lot with a friend and asking if he knew of ways to do certain things better, and one issue that both of us have is that we create newlines with o or O and then go back to normal mode im

Re: Vim Help for deleting text

2007-03-20 Thread Andy Wokula
Arnaud Bourree schrieb: Arnaud Bourree wrote on 20/03/2007 10:22: Tim Chase wrote on 19/03/2007 23:01: Or, if all your columns align, you can use visual-block mode with control+V to create a block across the characters in question, and then just hit "d" to delete. -tim Sorry, I'm begginer w

Re: Consistently exit "message display" with 'q'?

2007-03-20 Thread Yakov Lerner
On 3/19/07, John Orr <[EMAIL PROTECTED]> wrote: Hi all, I'm a bit frustrated by a particular behaviour of vim, and today I modified the source code to 'fix' it. I'd be very grateful for some opinions if you a) agree with my thoughts, or b) have a better solution. The problem - is when you run

Re: highlighting "weird" characters...

2007-03-20 Thread Yakov Lerner
On 3/19/07, Mitch Wiedemann <[EMAIL PROTECTED]> wrote: Hi all, I use VIM - Vi IMproved 7.0 (2006 May 7, compiled Feb 23 2007 22:17:23) to write mainly XHTML/PHP and I sometimes have to get content from word processed documents and paste it into Vim for HTML markup. This usually results in havin

Re: Vim Help for deleting text

2007-03-20 Thread Arnaud Bourree
Arnaud Bourree wrote on 20/03/2007 10:22: > > Tim Chase wrote on 19/03/2007 23:01: >> Or, if all your columns align, you can use visual-block mode with >> control+V to create a block across the characters in question, and then >> just hit "d" to delete. >> >> -tim >> > Sorry, I'm begginer with V

Re: Vim Help for deleting text

2007-03-20 Thread Arnaud Bourree
Tim Chase wrote on 19/03/2007 23:01: > > Or, if all your columns align, you can use visual-block mode with > control+V to create a block across the characters in question, and then > just hit "d" to delete. > > -tim > Sorry, I'm begginer with VIM (Windows XP). When I want to select a block wit

Re: Vim Help for deleting text

2007-03-20 Thread Arnaud Bourree
Tim Chase wrote on 19/03/2007 23:01: > > Or, if all your columns align, you can use visual-block mode with > control+V to create a block across the characters in question, and then > just hit "d" to delete. > > -tim > Sorry, I'm begginer with VIM (under Windows XP). When I want to select a bloc