Re: Fwd: A replacement for syntax/zsh.vim

2007-03-13 Thread Martin Krischik
Am Montag 12 März 2007 schrieb Nikolai Weibull: As nothing has happened with this yet, Im sending it out again. I really think it's time we make the switch. Felix has had ample opportunity to oppose this (over two years, in fact), and yet has not responded even once. I don't want to seem

Re: Fwd: A replacement for syntax/zsh.vim

2007-03-13 Thread Bram Moolenaar
Nikolai Weibull wrote: As nothing has happened with this yet, Im sending it out again. I really think it's time we make the switch. Felix has had ample opportunity to oppose this (over two years, in fact), and yet has not responded even once. I don't want to seem like a yerk, but my

Financial report ICCF available

2007-03-13 Thread Bram Moolenaar
Greetings, Vim users! The ICCF Holland foundation is Vim's charity. Vim users are asked to consider helping needy children in Kibaale, Uganda. Since April 2006 the Vim sponsorship and registration is also destined for this project. The financial report for 2006 is now available. You can find

Re: Fwd: A replacement for syntax/zsh.vim

2007-03-13 Thread Nikolai Weibull
On 3/13/07, Bram Moolenaar [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: As nothing has happened with this yet, Im sending it out again. I really think it's time we make the switch. Felix has had ample opportunity to oppose this (over two years, in fact), and yet has not responded even

Re: Best way to repeat a sequence of keystrokes/commands with a single keypress ?

2007-03-13 Thread Ivan Vecerina
Tim Chase [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] : While editing a file, I decide to rename someIdentifier to : someIdentifier_ - I will need to append the underscore to : several (but usually not all) instances of the word. : : The typical way to do this would be something

Maximize gvim at startup

2007-03-13 Thread Mr. Shawn H. Corey
Hi, I'm running Ubuntu 6.10 on a PowerBook 4 under GNOME. Is there any command I can put inn my .gvimrc that will maximize the window at startup? I tried: :autocmd GUIEnter * simalt F10 But simalt does not work in Linux. I may not know much about GUIs but ever one I read so far has an

match html tag

2007-03-13 Thread Akbar
Hi, I have this part of html file: div id=bu phaha/p /div The cursor is in first line (the opening div). When I hit certain key, the cursor will go to the third line (the closing div). There is a script to achieve this. I just forgot the name. Could you tell me the name? Thank you.

Re: match html tag

2007-03-13 Thread Albie Janse van Rensburg
You are looking for %. In order to enable the use of it, you need to enable the matchit plugin. See :help matchit Regards Albie Akbar wrote: Hi, I have this part of html file: div id=bu phaha/p /div The cursor is in first line (the opening div). When I hit certain key, the cursor will go

Re: Selecting tag opens file in a new tab - how?

2007-03-13 Thread A.J.Mechelynck
Zarko Coklin wrote: And Tony does it again ;-) Thanks Tony! ~~~ Zarko Coklin wrote: Is it possible to have a setup in .vimrc so that every time I select tag either through CTRL-] or by holding CTRL and pressing left mouse click to open a

Re: Maximize gvim at startup

2007-03-13 Thread A.J.Mechelynck
Mr. Shawn H. Corey wrote: Hi, I'm running Ubuntu 6.10 on a PowerBook 4 under GNOME. Is there any command I can put inn my .gvimrc that will maximize the window at startup? I tried: :autocmd GUIEnter * simalt F10 But simalt does not work in Linux. I may not know much about GUIs but ever

Re: match html tag

2007-03-13 Thread Akbar
I still have problem. % does perfectly in C source code (mathing curly braces). But it does nothing in html tag for html file. Any idea? Sorry for double post for Albie. On 3/13/07, Albie Janse van Rensburg [EMAIL PROTECTED] wrote: You are looking for %. In order to enable the use of it, you

Re: Maximize gvim at startup

2007-03-13 Thread Mr. Shawn H. Corey
A.J.Mechelynck wrote: The portable way to maximize gvim at startup (well, with maybe at times a one-character-cell rounding error in the size of the Vim screen) is if has(gui_running) set lines= columns= endif The above (which is in my .vimrc) used to work for me on

Re: match html tag

2007-03-13 Thread Albie Janse van Rensburg
Hello Akbar You replied to my address only, so I'm copying the list in on this. In future, use Reply to list if your mail client supports it, or Reply to All, just so we all can share. Have you set the filetype correctly in your HTML file? Matchit works off the filetype definitions to

Re: Maximize gvim at startup

2007-03-13 Thread François Ingelrest
On 3/13/07, Mr. Shawn H. Corey [EMAIL PROTECTED] wrote: Why it's there a command to simply maximize the window? Because it's managed by the window manager, not by the app itself. You may be able to set the size to what your screen is able to display, but I don't think you'll be able to really

Re: How to switch between horizontal split and vertical split?

2007-03-13 Thread Jean-Rene David
* Peng Yu [2007.03.13 12:15]: Suppose I have horizontal splited window1 and window2, is there any way to change them into vertical split and vice versa? CTRL-W H CTRL-W J Note the capital H and J. -- JR

Re: match html tag

2007-03-13 Thread Albie Janse van Rensburg
Matchit seems to come standard with all versions of Vim I have had the pleasure to use these days. On the standard Vim 7.0 you get for Windows, as well as for Gentoo, I have had matchit included, with specific instructions in the help using matchit as the typical example for plugins. From

Re: Maximize gvim at startup

2007-03-13 Thread Mr. Shawn H. Corey
fREW wrote: What you may want to do is look into your GNOME documentation. Most window managers have options on what to do with certain apps when they run. For instance I have firefox load in one virtual desktop, and I have amaroK load in another, and I have eclipse run fullscreen. Surely

Re: Maximize gvim at startup

2007-03-13 Thread A.J.Mechelynck
Mr. Shawn H. Corey wrote: A.J.Mechelynck wrote: The portable way to maximize gvim at startup (well, with maybe at times a one-character-cell rounding error in the size of the Vim screen) is if has(gui_running) set lines= columns= endif The above (which is in my

Re: Maximize gvim at startup

2007-03-13 Thread Michael Klier
Mr. Shawn H. Corey wrote: François Ingelrest wrote: Because it's managed by the window manager, not by the app itself. You may be able to set the size to what your screen is able to display, but I don't think you'll be able to really maximize the window. Yes, but I thought there is a

Re: Maximize gvim at startup

2007-03-13 Thread A.J.Mechelynck
Mr. Shawn H. Corey wrote: François Ingelrest wrote: Because it's managed by the window manager, not by the app itself. You may be able to set the size to what your screen is able to display, but I don't think you'll be able to really maximize the window. Yes, but I thought there is a command

Re: Maximize gvim at startup

2007-03-13 Thread J. Erik Heinz
Mr. Shawn H. Corey [EMAIL PROTECTED] words on 13.03.2007 - 09:28 (-0400 Zulu-Time): I'm running Ubuntu 6.10 on a PowerBook 4 under GNOME. Is there any command I can put inn my .gvimrc that will maximize the window at startup? I tried: :autocmd GUIEnter * simalt F10 But simalt

Re: Maximize gvim at startup

2007-03-13 Thread A.J.Mechelynck
Mr. Shawn H. Corey wrote: fREW wrote: What you may want to do is look into your GNOME documentation. Most window managers have options on what to do with certain apps when they run. For instance I have firefox load in one virtual desktop, and I have amaroK load in another, and I have eclipse

OmniCompletion for C#/.NET

2007-03-13 Thread fREW
Does anyone here know if there is anyone trying to set up omnicompletion for C#/.NET? I know that you can get vim for visual studio, but that doesn't work with the express editions, which is what I am stuck with when I code almost anywhere other than my personal computer. Thanks in advance!

Re: match html tag

2007-03-13 Thread A.J.Mechelynck
Akbar wrote: Hi, I have this part of html file: div id=bu phaha/p /div The cursor is in first line (the opening div). When I hit certain key, the cursor will go to the third line (the closing div). There is a script to achieve this. I just forgot the name. Could you tell me the name? Thank

Re: VimTips Wiki: New Direction

2007-03-13 Thread Martin Krischik
Am Dienstag 06 März 2007 schrieb Tobias Pflug: If I might add my impression: Generally I think it is indeed quite likable. Just some thoughts : Looking at : http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/TipsSandbox/Tip_1:_ the_super_star Hello, The first thing I noticed it the

Re: How to switch between horizontal split and vertical split?

2007-03-13 Thread A.J.Mechelynck
Peng Yu wrote: Hi, Suppose I have horizontal splited window1 and window2, is there any way to change them into vertical split and vice versa? Thanks, Peng To change *two* vertically split windows to horizonally split ^Wt^WK Horizontally to vertically: ^Wt^WH where ^W

@=

2007-03-13 Thread Michael Phillips
Would someone please explain the usage of @=. I am getting confuse from the help file. [EMAIL PROTECTED] Matches the preceding atom with zero width. {not in Vi} Like (?=pattern) in Perl. Example matches ~ foo\(bar\)[EMAIL PROTECTED] foo

Re: OmniCompletion for C#/.NET

2007-03-13 Thread A.J.Mechelynck
fREW wrote: Does anyone here know if there is anyone trying to set up omnicompletion for C#/.NET? I know that you can get vim for visual studio, but that doesn't work with the express editions, which is what I am stuck with when I code almost anywhere other than my personal computer. Thanks in

Re: Best way to repeat a sequence of keystrokes/commands with a single keypress ?

2007-03-13 Thread Karl Guertin
I flip between ex commands and macros for semi-automated file conversion and most of what I'd say has been covered, but I'll toss in a personal quirk from my .vimrc. By default, both ` and ' do approximately the same thing in that they jump to a mark (' is a linewise `, it positions the cursor

Re: VimTips Wiki: New Direction

2007-03-13 Thread Martin Krischik
Am Dienstag 06 März 2007 schrieb Tobias Pflug: If I might add my impression: Generally I think it is indeed quite likable. Just some thoughts : Looking at : http://en.wikibooks.org/wiki/Learning_the_vi_editor/Vim/TipsSandbox/Tip_1:_ the_super_star Hello, The first thing I noticed it the

Re: @=

2007-03-13 Thread Tim Chase
Would someone please explain the usage of @=. I am getting confuse from the help file. [EMAIL PROTECTED] Matches the preceding atom with zero width. {not in Vi} Like (?=pattern) in Perl. Example matches ~ foo\(bar\)[EMAIL PROTECTED] foo

clone a vim session into a new tab

2007-03-13 Thread Kamaraju S Kusumanchi
Let's say I opened a 6 files in a 3X2 grid inside vim. Now I want to clone this and have all the files at the same position, same window sizes etc., and put it into a new tab under the same vim session. Is there a command to do this? commands like tabe etc., open only a single file. But I want to

Re: @= (thanks)

2007-03-13 Thread Michael Phillips
Thanks for replying. The examples you gave me has help me to understand the command. I may not every use it. Thanks for the info Michael --- Tim Chase [EMAIL PROTECTED] wrote: Would someone please explain the usage of @=. I am getting confuse from the help file. [EMAIL PROTECTED]

Re: clone a vim session into a new tab

2007-03-13 Thread Andy Wokula
Kamaraju S Kusumanchi schrieb: Let's say I opened a 6 files in a 3X2 grid inside vim. Now I want to clone this and have all the files at the same position, same window sizes etc., and put it into a new tab under the same vim session. Is there a command to do this? commands like tabe etc., open

RE: [PATCH] minor doc update

2007-03-13 Thread Bram Moolenaar
Michael Wookey wrote: OTOH, the svn repository is known to lag behind the other repositories, sometimes by a week or more: diffing against it runs the risk of forking the code. IIUC, the latest on nluug.nl is also the latest official version at any point in time. You can compare the

Re: clone a vim session into a new tab

2007-03-13 Thread Kamaraju S Kusumanchi
Andy Wokula wrote: Simple way (recommended or not, at least quick) with sessions: :mks use ! to overwrite existing Session.vim :tabnew :so Session.vim Just guessed it might work and it works. Now I think sessions don't include tabpages. This works although I use tabe instead of

Financial report ICCF available

2007-03-13 Thread Bram Moolenaar
Greetings, Vim users! The ICCF Holland foundation is Vim's charity. Vim users are asked to consider helping needy children in Kibaale, Uganda. Since April 2006 the Vim sponsorship and registration is also destined for this project. The financial report for 2006 is now available. You can find

Re: clone a vim session into a new tab

2007-03-13 Thread Andy Wokula
Kamaraju S Kusumanchi schrieb: Andy Wokula wrote: Simple way (recommended or not, at least quick) with sessions: :mks use ! to overwrite existing Session.vim :tabnew :so Session.vim Just guessed it might work and it works. Now I think sessions don't include tabpages. This works although I

Case-sensitive match for :e under cygwin?

2007-03-13 Thread John Wiersba
When I use :e file* under cygwin (a Unix emulator running on Windows), I get an error saying E77: Too many filenames. But in fact there is only one such file. However, there are other files matching FILE*. How can I turn off this behavior so that vim under cygwin performs case-sensitive

Re: clone a vim session into a new tab

2007-03-13 Thread Kamaraju S Kusumanchi
Andy Wokula wrote: Ok tabpages are included in the session per default. Try :set sessionoptions-=tabpages first. Awesome! Thanks a lot! :help 'sessionoptions' The help is a bit confusing. It says There is no option to include tab pages yet, only the current tab page

How to paste while keep the cursor at the same place?

2007-03-13 Thread Peng Yu
Hi, Suppose I use p to paste something, the cursor always goes to the end of the pasted text. Is there any other key to paste will keep the cursor before the pasted text? Thanks, Peng

How can a script know if we're running without X ?

2007-03-13 Thread A.J.Mechelynck
How can a Vim script know if we're running without an X connection? Of course, some cases are obvious, such as if has('unix') !has('x11') meaning we're on Unix with no X11 support compiled-in. But what about an X-enabled Vim running in console mode, either with the -X command-line

Re: clone a vim session into a new tab

2007-03-13 Thread Andy Wokula
Kamaraju S Kusumanchi schrieb: Andy Wokula wrote: Ok tabpages are included in the session per default. Try :set sessionoptions-=tabpages first. Awesome! Thanks a lot! :help 'sessionoptions' The help is a bit confusing. It says There is no option to include tab pages yet, only

Re: How can a script know if we're running without X ?

2007-03-13 Thread Cameron Simpson
On 13Mar2007 23:29, A.J.Mechelynck [EMAIL PROTECTED] wrote: | How can a Vim script know if we're running without an X connection? | Of course, some cases are obvious, such as | if has('unix') !has('x11') | meaning we're on Unix with no X11 support compiled-in. | | But what about an

Re: How can a script know if we're running without X ?

2007-03-13 Thread A.J.Mechelynck
Cameron Simpson wrote: On 13Mar2007 23:29, A.J.Mechelynck [EMAIL PROTECTED] wrote: | How can a Vim script know if we're running without an X connection? | Of course, some cases are obvious, such as | if has('unix') !has('x11') | meaning we're on Unix with no X11 support compiled-in. | |

Re: How can a script know if we're running without X ?

2007-03-13 Thread Luc Hermitte
Hello, * On Tue, Mar 13, 2007 at 11:29:28PM +0100, A.J.Mechelynck [EMAIL PROTECTED] wrote: How can a Vim script know if we're running without an X connection? Of course, some cases are obvious, such as if has('unix') !has('x11') meaning we're on Unix with no X11 support

gtk+ gvim and dwm

2007-03-13 Thread Michael F. Lamb
Hello, I'm using the 'dwm' window manager in tiled layout, which enforces a fixed-size window. http://www.suckless.org/wiki/dwm Using gtk+ gvim 7.0.122, with some combinations of guifont and guioptions settings, the vim command line ends up half-outside its window. It seems like it

Re: How can a script know if we're running without X ?

2007-03-13 Thread A.J.Mechelynck
Luc Hermitte wrote: Hello, * On Tue, Mar 13, 2007 at 11:29:28PM +0100, A.J.Mechelynck [EMAIL PROTECTED] wrote: How can a Vim script know if we're running without an X connection? Of course, some cases are obvious, such as if has('unix') !has('x11') meaning we're on Unix with no

Re: gtk+ gvim and dwm

2007-03-13 Thread A.J.Mechelynck
Michael F. Lamb wrote: Hello, I'm using the 'dwm' window manager in tiled layout, which enforces a fixed-size window. http://www.suckless.org/wiki/dwm Using gtk+ gvim 7.0.122, with some combinations of guifont and guioptions settings, the vim command line ends up half-outside its window.

Re: Case-sensitive match for :e under cygwin?

2007-03-13 Thread fREW
On 3/13/07, John Wiersba [EMAIL PROTECTED] wrote: When I use :e file* under cygwin (a Unix emulator running on Windows), I get an error saying E77: Too many filenames. But in fact there is only one such file. However, there are other files matching FILE*. How can I turn off this behavior

Re: How to paste while keep the cursor at the same place?

2007-03-13 Thread Gary Johnson
On 2007-03-13, Peng Yu [EMAIL PROTECTED] wrote: Hi, Suppose I use p to paste something, the cursor always goes to the end of the pasted text. Is there any other key to paste will keep the cursor before the pasted text? See :help `[ You could either type `[ after the p to move the