once again - how to unsubscribe?

2006-08-02 Thread Ulrich Lauther
Hi, the automated mechanism for unsubsrcibing from this list still doesn't work. Could please someone remove me from the list? Thanks, -- -lauther Ulrich Lauther ph: +49 89 636 48834 fx: ... 636 42284

Re: yanking into register and using that in command

2006-08-02 Thread Ilya
Denis Perelyubskiy wrote: hello, I am trying to emulate textpad. In textpad, when cursor is over some word and you press ctrl-f5 the search box pops up, and a word is in the input area. So, an equivalent behavior (at least for now :-)) in vim is to press ctrl-f5 and have a word show up in the

Re: yanking into register and using that in command

2006-08-02 Thread A.J.Mechelynck
Denis Perelyubskiy wrote: hello, I am trying to emulate textpad. In textpad, when cursor is over some word and you press ctrl-f5 the search box pops up, and a word is in the input area. So, an equivalent behavior (at least for now :-)) in vim is to press ctrl-f5 and have a word show up in the

Re: once again - how to unsubscribe?

2006-08-02 Thread A.J.Mechelynck
Ulrich Lauther wrote: Hi, the automated mechanism for unsubsrcibing from this list still doesn't work. Could please someone remove me from the list? Thanks, The list is operated only by non-humans (computers and programs, I mean). The people at fu-berlin math department will let the

Re: once again - how to unsubscribe?

2006-08-02 Thread A.J.Mechelynck
Ulrich Lauther wrote: Ulrich Lauther wrote: Hi, the automated mechanism for unsubsrcibing from this list still doesn't work. Could please someone remove me from the list? Thanks, The list is operated only by non-humans (computers and programs, I mean). The people at fu-berlin math department

substituting only in visual block

2006-08-02 Thread Dr. Johannes Zellner
Hi, having marked a visual block with ctrl-v, I'd like to so a search / replace only in that visual block. E.g. when selecting the right block in: xx xx xx xx xx xx xx xx I'd to do something like s/xx/yy/g which applies only to the selected block. How can I do this? -- Johannes

Re: substituting only in visual block

2006-08-02 Thread Bernd Strohhäcker
Dr. Johannes Zellner schrieb: Hi, having marked a visual block with ctrl-v, I'd like to so a search / replace only in that visual block. E.g. when selecting the right block in: xx xx xx xx xx xx xx xx I'd to do something like s/xx/yy/g which applies only to the selected block. How can I do

RE: netrw v103b

2006-08-02 Thread Hugo Ahlenius
Hi Charles, Thanks for the response, I have just updated vimball + netrw again... | * URLs with question marks in them, like | http://www.grida.no/products.cfm?pageID=13 | I just tried it; this appears to work (under linux). Is there still a | problem with windows/cygwin? This is still a

Re: Put the cursor in the middle of screen when replacing

2006-08-02 Thread Robert Cussons
Carlos Liu wrote: On 8/2/06, Tim Chase [EMAIL PROTECTED] wrote: How to put cursor in the middle of screen when replacing words? I have to see the next few lines to know replace or not, but the word always sit in the bottom of the screen. Sounds like you're looking for the 'scrolloff'

Command Line Window problem

2006-08-02 Thread John Orr
Hi, I'm wondering if anyone has a good solution to an annoying problem I seem to cause myself. When you type a command in vim that results in text scrolling up the screen - eg :messages or :registers, you will be hit by one of two comments: Press ENTER or type command to continue OR -- More

Re: substituting only in visual block

2006-08-02 Thread Robert Cussons
Bernd Strohhäcker wrote: Dr. Johannes Zellner schrieb: Hi, having marked a visual block with ctrl-v, I'd like to so a search / replace only in that visual block. E.g. when selecting the right block in: xx xx xx xx xx xx xx xx I'd to do something like s/xx/yy/g which applies only to the

Re: Command Line Window problem

2006-08-02 Thread Yakov Lerner
On 8/2/06, John Orr [EMAIL PROTECTED] wrote: When you type a command in vim that results in text scrolling up the screen - eg :messages or :registers, you will be hit by one of two comments: Press ENTER or type command to continue OR -- More -- depending upon whether there are more lines to

Re: Command Line Window problem

2006-08-02 Thread Yakov Lerner
On 8/2/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 8/2/06, John Orr [EMAIL PROTECTED] wrote: When you type a command in vim that results in text scrolling up the screen - eg :messages or :registers, you will be hit by one of two comments: Press ENTER or type command to continue OR --

Re: netrw v103b

2006-08-02 Thread A.J.Mechelynck
Hugo Ahlenius wrote: Hi Charles, Thanks for the response, I have just updated vimball + netrw again... | * URLs with question marks in them, like | http://www.grida.no/products.cfm?pageID=13 | I just tried it; this appears to work (under linux). Is there still a | problem with

Re: Status line in gvim obscured when maximised

2006-08-02 Thread Mark Woodward
Hi James, not a solution but... On Wed, 2 Aug 2006 09:55:40 +0800 James Hales [EMAIL PROTECTED] wrote: Hi, When I maximize Gvim in Gnome, the status line is partially hidden by the gnome panel, which is really annoying. This is because of how Vim resizes itself, i.e. it is constrained to

Re: Put the cursor in the middle of screen when replacing

2006-08-02 Thread A.J.Mechelynck
Robert Cussons wrote: Carlos Liu wrote: On 8/2/06, Tim Chase [EMAIL PROTECTED] wrote: How to put cursor in the middle of screen when replacing words? I have to see the next few lines to know replace or not, but the word always sit in the bottom of the screen. Sounds like you're looking

Re: Automatic updating file content

2006-08-02 Thread Mark Woodward
Hi Tien, On Wed, 02 Aug 2006 12:09:39 +1000 Tien Pham [EMAIL PROTECTED] wrote: Hi all Is there any key stroke to update content of a currently open file when its content has been changed? Reason for this is that I want to look at my log file from a simulation, as I run simulation so

Re: Status line in gvim obscured when maximised

2006-08-02 Thread A.J.Mechelynck
James Hales wrote: Hi, When I maximize Gvim in Gnome, the status line is partially hidden by the gnome panel, which is really annoying. This is because of how Vim resizes itself, i.e. it is constrained to being resized one character size at a time. When Gvim is maximized, it is half a character

match, 2match, 3match

2006-08-02 Thread Jose Castro
Hi. In my .vimrc I have: Add new highlight combinations... highlight WHITE_ON_REDctermfg=white ctermbg=red highlight RED_ON_YELLOW ctermfg=redctermbg=yellow highlight BLUE_ON_BLUEctermfg=blue ctermbg=blue function! BadRefs () Track faux references... match

Re: Automatic updating file content

2006-08-02 Thread A.J.Mechelynck
Mark Woodward wrote: Hi Tien, On Wed, 02 Aug 2006 12:09:39 +1000 Tien Pham [EMAIL PROTECTED] wrote: Hi all Is there any key stroke to update content of a currently open file when its content has been changed? Reason for this is that I want to look at my log file from a simulation, as I run

Re: match, 2match, 3match

2006-08-02 Thread A.J.Mechelynck
Jose Castro wrote: Hi. In my .vimrc I have: Add new highlight combinations... highlight WHITE_ON_REDctermfg=white ctermbg=red highlight RED_ON_YELLOW ctermfg=redctermbg=yellow highlight BLUE_ON_BLUEctermfg=blue ctermbg=blue function! BadRefs () Track faux references...

Re: substituting only in visual block

2006-08-02 Thread striker
What version of Vim are you using? In version 7.0 on both Windows and OS X, highlighting the region and doing :s/x/y/g works fine. Kevin On Aug 2, 2006, at 2:23 AM, Bernd Strohhäcker wrote: Dr. Johannes Zellner schrieb: Hi, having marked a visual block with ctrl-v, I'd like to so a

Re: substituting only in visual block

2006-08-02 Thread A.J.Mechelynck
striker wrote: What version of Vim are you using? In version 7.0 on both Windows and OS X, highlighting the region and doing :s/x/y/g works fine. Kevin yes, linewise (with ',' auto inserted after : ). But blockwise? On Aug 2, 2006, at 2:23 AM, Bernd Strohhäcker wrote: Dr. Johannes

RE: netrw v103b

2006-08-02 Thread Hugo Ahlenius
| -Original Message- | From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] | IIUC, when an http: URL ends in a slash, or when it names a directory | even without a slash, the server retrieves the default page (if any) | in the directory in question; and it is up to the server to determine |

Re: Formatting a paragraph in insert mode

2006-08-02 Thread A.J.Mechelynck
C Rose wrote: Hi Is it possible to format a paragraph (i.e. justify it) of text or comments while in insert mode? The way I do it now is to visually highlight the paragraph and then press g and then q. What I'd like is to be able to press Ctrl-q (or something) to format the paragraph (and

Re: Formatting a paragraph in insert mode

2006-08-02 Thread Tim Chase
Is it possible to format a paragraph (i.e. justify it) of text or comments while in insert mode? The way I do it now is to visually highlight the paragraph and then press g and then q. What I'd like is to be able to press Ctrl-q (or something) to format the paragraph (and the cursor left

Re: Formatting a paragraph in insert mode

2006-08-02 Thread dcuaron
Dear Vimmers, I believe you can just do a gwap to leave the cursor in the same position. -dan

Re: Formatting a paragraph in insert mode

2006-08-02 Thread Georg Dahn
--- A.J.Mechelynck [EMAIL PROTECTED] wrote: Formatting the paragraph without moving the cursor relative to the text is possible but trickier: mark your place, format, then go back: :imap F5 C-Om'C-OgqapC-O`` or :imap F5 Escm'gqap``a If one accepts, that 'formatprg' and

Re: Formatting a paragraph in insert mode

2006-08-02 Thread C Rose
[snip---see thread] Thanks all. C

Re: Formatting a paragraph in insert mode

2006-08-02 Thread Tim Chase
I believe you can just do a gwap to leave the cursor in the same position. Thanks! Every day I learn something new. A pretty amazing day when Tony Tim both learn the same something new about Vim that's easy, useful, and has been supported (mostly, save for a few bugfixes in later

Re: Sorting a file

2006-08-02 Thread Jürgen Krämer
Hi, Eric Leenman wrote: I have a long file which contains like: ## | 0123456 ## Line 18 | 123 Line 19 |abc

Re: Sorting a file

2006-08-02 Thread Tim Chase
How do I sort this file so that - removes the lines starting with ### :g/^###/d - removes the lines starting with --- :g/^---/d - removes the lines starting with spaces :g/^\s\+/d - all line 18 , i.e., comes under each other? And line 19 , and so on. :%!sort (or, newer versions of

Re: Sorting a file

2006-08-02 Thread Eric Leenman
Thanks, it works Eric From: Tim Chase [EMAIL PROTECTED] To: Eric Leenman [EMAIL PROTECTED] CC: vim@vim.org Subject: Re: Sorting a file Date: Wed, 02 Aug 2006 08:44:07 -0500 How do I sort this file so that - removes the lines starting with ### :g/^###/d - removes the lines starting with

Re: Sorting a file

2006-08-02 Thread Ben K.
Line 18 | 123 Line 18 | 641 Line 19 |abc Line 19 | GHI Line 332 |xyz Line 332 | vcx Hi, an alternative FWIW :sort :g!/^Line/d Regards, Ben K. Developer http://benix.tamu.edu

Re: match, 2match, 3match

2006-08-02 Thread Yakov Lerner
On 8/2/06, Jose Castro [EMAIL PROTECTED] wrote: Add new highlight combinations... highlight WHITE_ON_REDctermfg=white ctermbg=red highlight RED_ON_YELLOW ctermfg=redctermbg=yellow highlight BLUE_ON_BLUEctermfg=blue ctermbg=blue function! BadRefs () Track faux

Deleting a repetative pattern

2006-08-02 Thread Eric Leenman
Hi I have a file which contains lines like below Line 18 |200 040 200 200 200 051 200 1C2 200 2E2 Line 18 | 200 040 200 040 200 052 200 1B9 200 2F4 Line 18 |

Re: Deleting a repetative pattern

2006-08-02 Thread Jürgen Krämer
Hi, Eric Leenman wrote: I have a file which contains lines like below Line 18 |200 040 200 200 200 051 200 1C2 200 2E2 Line 18 | 200 040 200 040 200 052 200 1B9

Re: Deleting a repetative pattern

2006-08-02 Thread Jürgen Krämer
Hi, Eric Leenman wrote: I see that my the 'ASCII-layout' is not what it should be. The command deletes all 200. How can I give the command to deleted only the 1st, 3rd, 5th, 7th, ect.. 200? And leaving (if any) the 2nd, 4th, 6th, ect. %s/\200\\(\%(.\{-\}\200\\)\?\)/ \1/g this

Re: Deleting a repetative pattern

2006-08-02 Thread Ben K.
How do I deleted per line all the 'odd' 200? :%s/ 200 200 200 / 200 zzz 200 /g :%s/ 200 / /g :%s/zzz/200/g Just an idea... Regards, Ben K. Developer http://benix.tamu.edu

Re: Deleting a repetative pattern

2006-08-02 Thread Ben K.
How do I deleted per line all the 'odd' 200? If there are repeated 200 200 200 200 ... :%s/200\s\+200\s\+/200 zzz /g Regards, Ben K. Developer http://benix.tamu.edu

Re: Automatic updating file content

2006-08-02 Thread Charles E Campbell Jr
Peter Hodge wrote: Sorry, it seems I was a little naive with that autocommand I showed you, it doesn't work because CursorHold won't trigger again until you press a key. After a little experimentation, I think you would best add something like this CursorHold will fire (once) some time has

Bits of text left over after switching splits

2006-08-02 Thread Max Dyckhoff
I normally run with lots of splits. Recently I started using italics for various syntax highlighting (especially comments and enum tag values). Since then I have noticed the ocassional pixel remaining when I switch from one split to another. The situation where this happens is pretty

Re: Bits of text left over after switching splits

2006-08-02 Thread Tim Chase
I normally run with lots of splits. Recently I started using italics for various syntax highlighting (especially comments and enum tag values). Since then I have noticed the ocassional pixel remaining when I switch from one split to another. Any ideas what I can do to fix this? I'm on Windows

RE: Bits of text left over after switching splits

2006-08-02 Thread Max Dyckhoff
Thanks for the prompt reply Tim. Changing 'linespace' didn't seem to help at all, and I don't really want to change the font. I also don't want to remove the text decoration; I like my syntax highlighting as it is. Control-L worked perfectly though; I've just added 'redraw!' to my WinEnter au

Re: Bits of text left over after switching splits

2006-08-02 Thread A.J.Mechelynck
Max Dyckhoff wrote: I normally run with lots of splits. Recently I started using italics for various syntax highlighting (especially comments and enum tag values). Since then I have noticed the ocassional pixel remaining when I switch from one split to another. The situation where this happens

Re: Problem with leader (backslash) - Update

2006-08-02 Thread A.J.Mechelynck
cga2000 wrote: On Tue, Jul 04, 2006 at 02:24:35AM EDT, cga2000 wrote: I have the vimspell plugin installed and I am able to use the ':' commands but the \.. shorcuts are not working the way I expected: If I type \sA to start autospell mode for instance I get: . a beep for the backslash . a

Re: netrw v103b

2006-08-02 Thread Charles E Campbell Jr
Hugo Ahlenius wrote: The http prefix should tell that this is a URL that should be retrieved using the http protocol and nothing else. A URL with a trailing slash is still a fully valid URL, and doesn't not signify directories or anything like that on the www. I would really like netrw to just

Re: ESC key is too far away.

2006-08-02 Thread Michael Hernandez
On Aug 2, 2006, at 4:13 PM, Will Maier wrote: On Wed, Aug 02, 2006 at 01:03:52PM -0700, Brian Dorsey wrote: On 8/2/06, Yakov Lerner [EMAIL PROTECTED] wrote: Regarding remote nature of Esc key, I solved it for myself by I using mini-keyboard, 28x10cm. I love it. Everything is nearer on such

Re: ESC key is too far away.

2006-08-02 Thread Will Maier
On Wed, Aug 02, 2006 at 04:19:52PM -0400, Michael Hernandez wrote: On my powerbook I changed caps lock to be ctrl, and now can achieve the effect of ESC ( via ctrl-[ ) without either hand leaving the home row :) Every computer I touch gets that treatment. I haven't touched L_CTRL in years.

Re: ESC key is too far away.

2006-08-02 Thread Brian Dorsey
On 8/2/06, Will Maier [EMAIL PROTECTED] wrote: On Wed, Aug 02, 2006 at 04:19:52PM -0400, Michael Hernandez wrote: On my powerbook I changed caps lock to be ctrl, and now can achieve the effect of ESC ( via ctrl-[ ) without either hand leaving the home row :) Every computer I touch gets

Re: ESC key is too far away.

2006-08-02 Thread Brian Dorsey
On 8/2/06, cga2000 [EMAIL PROTECTED] wrote: On Wed, Aug 02, 2006 at 05:20:05PM EDT, Brian Dorsey wrote: I think that's the one I downloaded once. Only problem I have with it is that when you only bring up Windows occasionally each time you boot you need to bring up the Cpanel keyboard popup,

Re: Automatic updating file content

2006-08-02 Thread Tien Pham
Hi Mark and Tony Thank you for your help, very much appreciated. Kind regards tien At 12:43 PM 2/08/2006 +0200, A.J.Mechelynck wrote: Mark Woodward wrote: Hi Tien, On Wed, 02 Aug 2006 12:09:39 +1000 Tien Pham [EMAIL PROTECTED] wrote: Hi all Is there any key stroke to update content of a

Fwd: Re: ESC key is too far away.

2006-08-02 Thread John Orr
Have you tried AutoHotKey? It's a brilliant (free) program for writing powerful macros on windows, trigger by both keyboard and mouse, it must be able to achieve the desired effect. On Thursday 03 August 2006 09:09, you wrote: On 8/2/06, cga2000 [EMAIL PROTECTED] wrote: On Wed, Aug 02, 2006

Re: Automatic updating file content

2006-08-02 Thread Tien Pham
Hi everyone Thanks Clip for your tip. I have to say that this VIM group has so many helpful experts. For people with limited understanding in computing language like me, this is so great and I am very grateful. Regards tien At 12:11 PM 2/08/2006 -0400, Charles E Campbell Jr wrote: Peter

Re: Command Line Window problem

2006-08-02 Thread John Orr
Thanks Yakov, and others for the Escape substitute ideas. I'll probably try a few of them. John On Wednesday 02 August 2006 19:13, Yakov Lerner wrote: On 8/2/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 8/2/06, John Orr [EMAIL PROTECTED] wrote: When you type a command in vim that results

Re: ESC key is too far away.

2006-08-02 Thread cga2000
On Wed, Aug 02, 2006 at 07:09:24PM EDT, Brian Dorsey wrote: On 8/2/06, cga2000 [EMAIL PROTECTED] wrote: On Wed, Aug 02, 2006 at 05:20:05PM EDT, Brian Dorsey wrote: I think that's the one I downloaded once. Only problem I have with it is that when you only bring up Windows occasionally each

My apologies to Chip Campbell

2006-08-02 Thread Tien Pham
I am terribly sorry that I misspelled your name Chip. My apologies tien pham

Tab bar

2006-08-02 Thread Bart van Kuik
Hi Can anyone tell me whether I can customize the tab bar in vim 7.0 (vim, not gvim). Colours, etc. Thanks Bart