has('win32') returns 1 on the Win64 version of vim?

2011-02-07 Thread H Xu
Hello, has('win32') returns 1 on the Win64 version of vim, and either has('win64'). Is this kind of weird? Thanks. Regards, Hong Xu 2011/2/7 -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information,

Re: has('win32') returns 1 on the Win64 version of vim?

2011-02-07 Thread Efraim Yawitz
On Mon, Feb 7, 2011 at 1:06 PM, H Xu xusu...@gmail.com wrote: Hello, has('win32') returns 1 on the Win64 version of vim, and either has('win64'). Is this kind of weird? Thanks. I think this is a pretty standard Windows programming convention. For example, in the Windows API docs, it

Re: has('win32') returns 1 on the Win64 version of vim?

2011-02-07 Thread H Xu
On 2011/2/7 20:03, Efraim Yawitz wrote: On Mon, Feb 7, 2011 at 1:06 PM, H Xu xusu...@gmail.com mailto:xusu...@gmail.com wrote: Hello, has('win32') returns 1 on the Win64 version of vim, and either has('win64'). Is this kind of weird? Thanks. I think this is a pretty

Re: Opening automatically copen

2011-02-07 Thread Ben Fritz
On Feb 6, 2:51 pm, niva nivaem...@gmail.com wrote: Hi, I am using make command and set make-prg with mingw32; I would like that copen automatically open the bottom window with all errors when I launch my link make command. When launching Vim: vim -c make -c copen From within Vim:

Re: Typing numbers

2011-02-07 Thread AK
On 02/07/2011 04:57 AM, Dotan Cohen wrote: On Wed, Feb 2, 2011 at 05:21, Chris Jonescjns1...@gmail.com wrote: I took a file to the F, J, 4, 8, F4, and F8 keys on the keyboard to help find them faster. Interesting.. But shouldn't it be 4 7 rather than 4 8..? No, it might be personal

Re: jumping to a given file and line from a log file

2011-02-07 Thread AK
On 02/07/2011 04:12 PM, Jose Caballero wrote: Hi, my apologies if this question is too silly, or already asked. In that case, you can just point me to the documentation or example, and I will keep investigating myself. I use vim version 6.3.82 on RedHat. Let's say I have a log file with this

Re: jumping to a given file and line from a log file

2011-02-07 Thread Jose Caballero
2011/2/7 AK andrei@gmail.com On 02/07/2011 04:12 PM, Jose Caballero wrote: Hi, my apologies if this question is too silly, or already asked. In that case, you can just point me to the documentation or example, and I will keep investigating myself. I use vim version 6.3.82 on RedHat.

Re: Reflowing paragraph text.

2011-02-07 Thread AK
On 02/07/2011 04:42 PM, Thomas Adam wrote: Hi all, I am sure Vim has an option for this, so do please point me towards whichever documentation I need to read. :) Quite often, I have: :set tw=74 Which is common for most text files and especially so when composing email. Vim makes a good job

Re: Reflowing paragraph text.

2011-02-07 Thread Ben Schmidt
Also you can use gqap to format current complete paragraph. Or gqip which I find easier to type as I don't have to use the same finger twice in a row. :-) Ben. -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For

Re: right align in block

2011-02-07 Thread Ben Schmidt
On 8/02/11 2:23 AM, rameo wrote: Let say I have these dates: Variable 1 - 21.185 Variable a - 22.345 Variable 2 - 1.401.218Variable b - 1.821 Variable 3 - apples Variable c - 17.643 Variable 4 - water Variable d - 56.030 Variable 5 - 656.647 Variable e -

Re: Reflowing paragraph text.

2011-02-07 Thread AK
On 02/07/2011 05:00 PM, Ben Schmidt wrote: Also you can use gqap to format current complete paragraph. Or gqip which I find easier to type as I don't have to use the same finger twice in a row. :-) Ben. Good point! I actually mapped to alt-q right away so I didn't have a chance to figure

Re: right align in block

2011-02-07 Thread Chris Jones
On Mon, Feb 07, 2011 at 10:23:19AM EST, rameo wrote: Let say I have these dates: Variable 1 - 21.185 Variable a - 22.345 Variable 2 - 1.401.218Variable b - 1.821 Variable 3 - apples Variable c - 17.643 Variable 4 - water Variable d - 56.030 Variable 5 -

Re: Reflowing paragraph text.

2011-02-07 Thread Marco
On 2011-02-08 Ben Schmidt mail_ben_schm...@yahoo.com.au wrote: Also you can use gqap to format current complete paragraph. Or gqip which I find easier to type as I don't have to use the same finger twice in a row. :-) One question. If I enter one additional line, and I press gqap or gqip I

Re: Reflowing paragraph text.

2011-02-07 Thread AK
On 02/07/2011 05:37 PM, Marco wrote: On 2011-02-08 Ben Schmidtmail_ben_schm...@yahoo.com.au wrote: Also you can use gqap to format current complete paragraph. Or gqip which I find easier to type as I don't have to use the same finger twice in a row. :-) One question. If I enter one

Re: right align in block

2011-02-07 Thread Marco
On 2011-02-07 Chris Jones cjns1...@gmail.com wrote: ’Some people, when confronted with a problem, think ’’I know, I'll use regular expressions.’’ Now they have two problems.’ -- JMZ :D Unless you absolutely insist on getting cross-eyed and ‘Mastering Regular Expressions’... like the book

RE: right align in block

2011-02-07 Thread Roy Fulbright
Mastering Regular Expressions (Second Edition), by Jeffrey F. F. Friedl ISBN: 0-596-00289-0 You should check to see if there is a more recent edition. Great book! To: vim_use@googlegroups.com From: net...@lavabit.com Subject: Re: right align in block Date: Mon, 7 Feb 2011 23:41:51 +0100

Re: Reflowing paragraph text.

2011-02-07 Thread Chris Jones
On Mon, Feb 07, 2011 at 05:00:41PM EST, Ben Schmidt wrote: Also you can use gqap to format current complete paragraph. Or gqip which I find easier to type as I don't have to use the same finger twice in a row. :-) I favor ‘gwap’ because the cursor stays put. And the ‘w’ is easier on my

Re: right align in block

2011-02-07 Thread John Little
On Feb 8, 4:23 am, rameo rai...@gmail.com wrote: . and right align... Dr Chip's Align plug-in (http://www.vim.org/scripts/script.php? script_id=294) is totally worth learning for jobs like this, even if, like I do, you use it just once a year. Regards, John -- You received this message

Remove trailing spaces

2011-02-07 Thread Michael(Xi Zhang)
Hi , I wrote a function , it will read lines from a file, each line is a directory, after got the line, I will add filetype filter at the end of it. If user put some spaces at end of the line, it will cause error. Is there any way to remove the trailing spaces? I know I can write a function

Re: Remove trailing spaces

2011-02-07 Thread Joan Miquel Torres Rigo
2011/2/8 Michael(Xi Zhang) michaelxm...@gmail.com: Hi  , I wrote a function , it will read lines from a file, each line is a directory, after got the line, I will add filetype filter at the end of it. If user put some spaces at end of the line, it will cause error. Is there any way to

Re: right align in block

2011-02-07 Thread Chris Jones
On Mon, Feb 07, 2011 at 05:50:16PM EST, Roy Fulbright wrote: Mastering Regular Expressions (Second Edition), by Jeffrey F. F. Friedl ISBN: 0-596-00289-0 You should check to see if there is a more recent edition. Great book! As much as I dislike regex's.. I fully agree.. Which does not

Re: Remove trailing spaces

2011-02-07 Thread Michael(Xi Zhang)
On Mon, Feb 7, 2011 at 4:20 PM, Joan Miquel Torres Rigo joanmiq...@mallorcaweb.net wrote: 2011/2/8 Michael(Xi Zhang) michaelxm...@gmail.com: Hi , I wrote a function , it will read lines from a file, each line is a directory, after got the line, I will add filetype filter at the end of

Re: Typing numbers

2011-02-07 Thread Chris Jones
On Mon, Feb 07, 2011 at 05:08:36AM EST, Dotan Cohen wrote: Here's a closeup photo of the cutting of the silicon domes. Hello Dotan, Thanks much for this pic and the other. Till I saw it I honestly had no clue what you meant.. I thought there was something like a rubber nipple in there and you

Batched digest

2011-02-07 Thread Colin Beighley
Hey list, Is there a way to get the Vim use mail in a batched digest? The single emails are clogging my inbox. Thanks, Colin -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit

Re: Batched digest

2011-02-07 Thread Tony Mechelynck
On 08/02/11 01:14, Colin Beighley wrote: Hey list, Is there a way to get the Vim use mail in a batched digest? The single emails are clogging my inbox. Thanks, Colin -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to.

RE: right align in block

2011-02-07 Thread Roy Fulbright
Date: Mon, 7 Feb 2011 18:29:42 -0500 From: cjns1...@gmail.com Subject: Re: right align in block To: vim_use@googlegroups.com On Mon, Feb 07, 2011 at 05:50:16PM EST, Roy Fulbright wrote: Mastering Regular Expressions (Second Edition), by Jeffrey F. F. Friedl ISBN: 0-596-00289-0

Re: right align in block

2011-02-07 Thread Chris Jones
On Mon, Feb 07, 2011 at 09:27:06PM EST, Roy Fulbright wrote: [..] Sorry about the top post. It's my email's default and it's so easy to forget. I will be more diligent in the future. :-( Doesn't bother me all that much.. sometimes I forget to top-post

Re: Remove trailing spaces

2011-02-07 Thread Ben Schmidt
Something like this? :%s/\s\+$// What I want is remove these spaces in this function, even user put spaces at end of line. Where are these lines? A single line in a string variable? Multiple lines in a string variable? List variable? ... ? At a quick guess, maybe something like this is

Re: Remove trailing spaces

2011-02-07 Thread Michael(Xi Zhang)
On Mon, Feb 7, 2011 at 8:32 PM, Ben Schmidt mail_ben_schm...@yahoo.com.auwrote: Something like this? :%s/\s\+$// What I want is remove these spaces in this function, even user put spaces at end of line. Where are these lines? A single line in a string variable? Multiple lines in a

Re: Batched digest

2011-02-07 Thread badmagic
On 02/08/11 11:14, Colin Beighley wrote: Hey list, Is there a way to get the Vim use mail in a batched digest? The single emails are clogging my inbox. Thanks, Colin -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to.