Re: How to wrap sentences?

2007-05-19 Thread Russell Bateman
Matthew Winn wrote: On Fri, 18 May 2007 20:24:17 -0600, Russell Bateman [EMAIL PROTECTED] wrote: As far as I know, Vim won't autowrap blocks of text you paste in. Something could be written I suppose, but I don't know of something already doing it. It depends how you paste. If you

Re: How to cut, copy and paste the VIM-way

2007-03-25 Thread Russell Bateman
(Stupid plain text problem...) Russell Bateman wrote: Eric Leenman wrote: Hi, I'm used to cut, copy and paste the windows-way. Meaning, selecting text and then press CTRL-X, CTRL-C or CTRL-V. In VIM (and correct me if I'm wrong) you yank (y) for copy put (p) for paste . for cut

Re: google summer of code: gdb - vim

2007-03-17 Thread Russell Bateman
The project to integrate vim and gdb usefully is called clewn and is on clewn.sourceforge.net. I think there may be others as well. Mathieu Malaterre wrote: Hello, I was looking at the ideas page for google summer of code for vim, and I did not see integration of gdb in vim. As far as I know

Re: Tips which are spam--clean up author/summary

2007-01-17 Thread Russell Bateman
While (someone) is at it, tip #1472's author and summary need to be adjusted. Similarly, #1456's author field.

Re: / and / problem

2007-01-15 Thread Russell Bateman
(Pardon, this may not have gone out in the correct format.) Russell Bateman wrote: Why are you typing : ? Unless I have misunderstood your notation here, search is simply: /\word\ Russ Bateman Matthew Karas wrote: Hello, When I try to search for a word with the following command

Re: I can't make gvim the default application for .txt files in WinXP

2006-12-01 Thread Russell Bateman
I have had inexplicable and inconsistent trouble with Windoz doing this at least since back in version 98. It's infuriating. Jeffrey Robertson wrote: That's just a different way into the same dialog box I used in the first place. It doesn't work for me. Although I can select gvim.exe, it

Re: Two problems

2006-11-15 Thread Russell Bateman
What Gary says is historically true, but I would point out that it was the fact that deep underneath vi was sitting on ed. Many full-screen versions of line editors, like teco, suffered from having their wings tied down close to the lowest assumptions and could not spread them and soar. I

Re: gf question

2006-10-26 Thread Russell Bateman
I don't seem to have this problem when I code because I would tend to code your line thus: progname=/usr/local/txserver Russ Ben K. wrote: Vimmers, I find gf very convenient, but with shell scripts, I'd like a different behavior: In shell scripts, there should be no spaces around =.

Re: BOF

2006-10-06 Thread Russell Bateman
As long as we're degenerating into the whimsical, it's also a homophone for a slang term for brother-in-law (BEAUF-rère). A.J.Mechelynck wrote: Robert Cussons wrote: Bill McCarthy wrote: Hello Vim List, I listened to Bram's BOF this past weekend. I still don't know what BOF means. From

Re: :helpgrep and 'ignorecase'

2006-09-22 Thread Russell Bateman
I've been an ignorecaser too (for 20 years) and share the same concerns. Greg Dunn wrote: On 9/22/06, Yakov Lerner [EMAIL PROTECTED] wrote: Am I, like, alone in the Universe to use/have 'set ignorecase' by default ? Yakov I'm an ignorecaser too. It gets in the way a bit with C

Re: Specifying vim options in the files being edited

2006-09-08 Thread Russell Bateman
Just in case my answer will get you going a little quicker (because I've always found vim help useful, but it's a lot more useful to those who already know--I've scratched my head and had to experiment a lot for even simple things)... You can put these modelines at the top of your file or the

Re: [help?] ezmlm warning

2006-09-05 Thread Russell Bateman
I get these all the time and, as far as I can tell, they are somewhat meaningless to me (maybe they mean something to vim list management) since, if I ignore them, I don't seem to be subject to any adverse consequences: I seem still to get the mail threads. Russ Max Dyckhoff wrote: Has

Re: Other European languages on a US keyboard [OT]

2006-07-25 Thread Russell Bateman
[more way off topic comments] ...some linguists say that those silent letters are not artifacts, but reflect __phonemes__ (is that the word?) that are still present in the mental representation of the language... --__morphemes__, actually, from a written point of view (you did say letters).

Re: Other European languages on a US keyboard

2006-07-24 Thread Russell Bateman
As you say, warning: off-topic post. Read at your own risk. This discussion underlines all the more strongly why I don't attempt to produce final documents using vim: I sometimes use an actual word processor like Open Office Writer, but mostly I write in HTML and, of course, the best HTML

Re: Other European languages on a US keyboard

2006-07-24 Thread Russell Bateman
Of course, we all realize that the original difference between AZERTY and QWERTY was the analyzed solutions to the problem of the likelihood of two typewriter hammers striking the platen in close enough succession that they would jam together and get stuck. Accents arose as a distinction only

Re: Other European languages on a US keyboard

2006-07-24 Thread Russell Bateman
in Paris for 6 years, I'm something of an Anglophile, but that's another story--check out my Inspector Morse site at http://www.windofkeltia.com/morse and my Allo, Allo page at http://www.windofkeltia.com/allo .) Russ A.J.Mechelynck wrote: Russell Bateman wrote: Of course, we all realize

Re: Modeline in HTML file

2006-06-25 Thread Russell Bateman
I found that I got an error with !-- vim: ts=2 sw=2: -- Error detected while processing modelines: line 789 (the last line of my file, but I tried it also on lines 1 and 2 (after the html tag) with the same result) E518: Unknown option: -- Hit ENTER or type command to continue Instead, I

Re: Modeline in HTML file

2006-06-25 Thread Russell Bateman
editors. For this reason, at my place of work at least, it goes at the bottom where seemingly no one cares. A.J.Mechelynck wrote: Russell Bateman wrote: I found that I got an error with !-- vim: ts=2 sw=2: -- Error detected while processing modelines: line 789 (the last line of my file

Re: unsuscribe

2006-06-22 Thread Russell Bateman
Well, if I can't get off the list, at least, please bring me my wine! ;-) Charles E Campbell Jr wrote: marcelo wrote: Excuse this OT. But I can't unsubscribe to this list. When I try the ezmlm response says that i'm not in the mailing list. I tried the [EMAIL PROTECTED] and got no

Re: how to detect c99 vs c89 (//-comments vs /*-comments)

2006-06-21 Thread Russell Bateman
We keep hearing about how placing a modeline at the top of the file... Because I work in a multitabbed environment (i.e.: there are more than one tab standard), I have to use a modeline to sort out tabstop and shiftwidth. I put this modeline AT THE BOTTOM of my file where it works just fine

Re: how to detect c99 vs c89 (//-comments vs /*-comments)

2006-06-20 Thread Russell Bateman
Formally speaking, C99 (ISO/IEC 9899:1999) still refers to ANSI C which does not tolerate the C++ style comment operator. If you don't believe me, just pass whatever your compiler's strict ANSI compliance flag is and see if it doesn't croak on them. Back in 1989, ANSI had not yet conceded the

Re: how to detect c99 vs c89 (//-comments vs /*-comments)

2006-06-20 Thread Russell Bateman
and that includes no C++ style comments, but truly, I haven't tested that assertion since I'd get crucified if I did. Maybe I'll try it before checking something in. Russ Yakov Lerner wrote: On 6/20/06, Russell Bateman [EMAIL PROTECTED] wrote: Formally speaking, C99 (ISO/IEC 9899:1999) still

Re: how to detect c99 vs c89 (//-comments vs /*-comments)

2006-06-20 Thread Russell Bateman
to mask out your comments and avoid all the confusion? (that was a joke, I think) Max -Original Message- From: Russell Bateman [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 9:22 AM To: Yakov Lerner Cc: Vim List Subject: Re: how to detect c99 vs c89 (//-comments vs /*-comments

Re: Makefile indentation with spaces for line continuation

2006-06-16 Thread Russell Bateman
I was unable to figure out how to do that. As the last line of my Makefile.am I always put: # vim: set tabstop=4 shiftwidth=4 noexpandtab: since, by default, these guys around me (I'm the new guy) like expandtab which, as you know, is problematic for makefiles. Best, Russ John Orr wrote:

Re: Change syntax color

2006-06-02 Thread Russell Bateman
There is help for this as others have told you by now, but I'm sure you just want to get going, so here's what I do. I only write in C/C++, make, bash, HTML and Perl, etc. and not in other, assorted high-level languages so I don't know its effect on them, but this setting, which I have in my

Re: Inevitable VIM plug-in for eclipse?

2006-06-01 Thread Russell Bateman
http://www.satokar.com/viplugin/index.php?MMN_position=7:7 Not sure of the main page for this tool as I'm at work (where I don't use Java), but I have it at home. This will get you there, though. I am using this and it work fine. It's worth the paltry sum I paid for it. It's not Vim, but

Re: Detect current tab style and mimic?

2006-05-11 Thread Russell Bateman
I systematically place a comment at the bottom of files that establishes tabular format: /* vim: set tabstop=2 shiftwidth=2: */ and even in scripts and other files: # This enforces this script's tab settings... # /* vim: set tabstop=2 shiftwidth=2: */ That way, the problem is solved for

Re: Quick peak at files

2006-04-28 Thread Russell Bateman
Actually, a spell checker would not catch this mistake which, from a spell checker's point of view, is one of mere usage, not spelling, peak being a word for the top of a mountain. Any spell checker would have let it pass without commentary. And since both words are nouns, even Microsoft Word

Re: persistent tabstop per-file ? (viminfo)

2006-04-09 Thread Russell Bateman
Yakov, I know how to do this, but the only example I have of it is at work and I won't be there until tomorrow. It involves putting something like this at the top or bottom of the file: /* * vim set tabstop 4:shiftwidth 3:autoindent */ Anything you can specify using set in ex will get