Re: [vim] fullscreen (Was: [gvim] colorschemes)



Troy Piggins <usenet-0708@xxxxxxxxx> wrote in
news:20070827160710@xxxxxxxxxxxxxxxx:

* Ohmster is quoted & my replies are inline below :

[snip for space, been there, done that]

Hey, do you have any kind of "make vim or gvim go fullscreen" stuff
that works? I just tried this plugin by loading it into my plugins
directory, URL is here:
http://www.vim.org/scripts/script.php?script_id=1669

Nope. Sorry. In the extremely rare case I want a larger window,
I just hit the "maximise" button on the title bar.

Let me try that then now and see how it goes. Oh that actually works
quite good. It preserves the formatting and gives more real estate.

LOL you just type it as you think it, don't you. You sure you're
a guy? ;-)

I told you I was chatty. :)

[snip]

Use command :WinFullScreen to maximize current window
Use command :WinFullScreen again (or move to another window or tab)
to restore windows sizes
Map :WinFullScreen for any key you like
Add to your .[_]vimrc file <---------------- Says
where to put it right here.
nnoremap <C-Enter> :WinFullScreen<CR>
and enjoy vim's windows

Fair enough, put it there. But if that doesn't work when you are
running gvim, try putting it in _gvimrc.

Agreed. Tried both, it did not work. Others are having problems with it
too, see this post:
http://tech.groups.yahoo.com/group/vim/message/55716

In my case that would be:
I:\Documents and Settings\Ohmster\_gvimrc

The idea of full screen is to make it the same as it would be in
Linux at run level 3, I would think, so I would imagine you would
want it in _vimrc. Use your XP Powertoy add on where you can get
"Open command window here" when you right click on the folder of your
choice. To edit _vimrc I would right click on ohmster and then open
the command window, then use "vim _vimrc" to edit the file.

Yeah, ok. But that's opening with vim, not gvim. So you need it
in _vimrc as recommended above.

Right. Tried both.

[snip]

Okay I just added it again to _vimrc, then closed vim, then opened
"vim _vimrc" again, hit Esc so that I would not be in any kind of
editing mode, and hit control-enter. No, it really does not do
anything at all.

Can't help you there then.

I don't think it works.

Next I tried it at the vim command window like this:
:WinFullScreen

It did not do squat. Not even doing it that way worked.

I did it again, nothing.

Ditto.

Agreed. Going to cut a lot out now, because we have been over this.


There is also a _vimrc file here too:
I:\Program Files\Vim\_vimrc

Wow, that is a really weird looking vimrc file. Only 29 lines and
none of it anything like the Linux vim stuff. Let me show you what's
in it...
[snip]

I think that's a default global _vimrc. Leave that one. Your
other one should override it because it gets executed after.

Roger that.

[snip]

That never went away, it just stays there. Hitting Esc does not make
it go away. Hitting Esc-colon does make it go away though.
Autocomplete? You mean hit Esc, then colon, then Win and hit the tab
key? I can try that. Yeah, that does work. Actually hitting enter on
that does not change the window but it does make some numbers at the
bottom of vim. Here is the entire bottom line after hitting enter on
WinFullScreen:

:WinFullScreen 91,37
:
Bot

Oh that is just telling me that my cursor is at line 91, position 37
over.

I can't help you any further then mate. Sorry.

Agreed, bad script.

[snip]

So you're happy with colours. Good.

Very much.

[snip]

So have you figured a way to get vim full screen and if so, how did
you do it?

Click the maximise button on title bar. It's only one click.

Well yeah that does work and it is pretty good at that. I just hate
it when something *should* work but don't work. Thanks for your help.

Maybe someone else can help you further with that script.


I think that just maximizing it is good enough. What I was looking for was
something "a la putty alt-enter" where you press alt-enter in putty and get
a gorgeous full screen application with no boarders, plenty of real estate,
and it would be just like that. The windows version of vim apparently
cannot do it but it is not a big deal. Maximizing the window gives plenty
of real estate.

Thanks for your help. Time for work now.

--
~Ohmster * ohmster /a/t/ ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
.