Re: question about search

2007-03-21 Thread Mr. Shawn H. Corey
A.J.Mechelynck wrote: shawn bright wrote: hello there, i am kinda new to vim, so i am wanting to learn the stuff that i think i will use the most first. One of the things i use a lot is search. i have found how to do a search like this /:s/reg/reg is there a way i can tab through the finds ? t

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: Maximize gvim at startup

2007-03-13 Thread Mr. Shawn H. Corey
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 in the window manager API

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 there

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 W

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 But simalt does not work in Linux. I may not know much about GUIs but ever one I read so far has an API c

Re: Find and replace in visual area.

2007-01-08 Thread Mr. Shawn H. Corey
Charles E Campbell Jr wrote: > Silva, Paulo wrote: > >> Greetings, >> I'm trying to do a replace in a selection. >> After selecting the area, with v, directional keys, v again (or not - >> both give the same result). >> >> Then I type >> :%s/\%V20/21/ >> >> and I get: >> E71: Invalid character aft