Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gvim ways to show buffer list + option for File explorer

9 views
Skip to first unread message

Paul R.

unread,
Jun 12, 2003, 6:23:51 PM6/12/03
to
I would like to configure gvim (I am using 6.2 win32 version) so that when I
right click in a window I get a list of all file buffers, so I can quickly
change to editing a different file. Is this possible?

Right now, I have to switch on the menu bar, and do Alt-w x. I don't want a
menu bar, because I can use that space for an extra line of code. That is
why I want another way of displaying the buffer list.

I have tried many of the options described in the help files as to ways to
get a file explorer. I am not able to get it working, I don't seem to be
able to split the screen vertically with a file explorer on the left, and
the editor window on the right. I am able to do it from the default menu,
but i would like to know the command to do it, so I can put it in _gvimrc,
or bring it up whenever needed by typing a command. As I plan to run without
the menu bar, I need another way to bring up the file explorer.

Does anyone know if gvim6.2 can do the equivalent of full screen mode like
with the VisualC++ editor? That would be a nice feature to have.

Thanks


uws

unread,
Jun 13, 2003, 3:47:52 AM6/13/03
to
I <3ee8fd94$0$10625$cc9e...@news.dial.pipex.com>, Paul R. skrev:

> Does anyone know if gvim6.2 can do the equivalent of full screen mode like
> with the VisualC++ editor? That would be a nice feature to have.

I don't know VC++, but... I have GVIM fullscreen: my windowmanager
(fluxbox) can hide titlebars and tabs and fully maximize the window.

mvrgr, Wouter

--
uws mail u...@xs4all.nl

so i'll be your liqour demons will drown :: and float away -- placebo

Paul R.

unread,
Jun 13, 2003, 2:54:38 PM6/13/03
to
I am using Windows 2000 though, not unix.

On unix there are lots of great window managers, and most of them allow you
to turn off window decoration, so you don't waste screen space.

"uws" <u...@xs4all.invalid> wrote in message
news:im-a-msgid-virus...@uwsworld.xs4all.nl...

Johannes Tanzler

unread,
Jun 13, 2003, 8:00:51 PM6/13/03
to
Paul R. wrote:

> I would like to configure gvim (I am using 6.2 win32 version) so that

> when I right click in a window I get a list of all file buffers [...]
> Right now, I have to switch on the menu bar, and do Alt-w x. [...]

$VIMRUNTIME/menu.vim defines the function "MenuExplOpen()". This is
called when you do "Alt-w x". To call it manually:

:call MenuExplOpen()

and to call it with a right click on a window (in normal mode)

noremap <RightMouse> :call MenuExplOpen()<CR>


Johannes

uws

unread,
Jun 14, 2003, 8:59:41 AM6/14/03
to
I <3eea1e09$0$11382$cc9e...@news.dial.pipex.com>, Paul R. skrev:

> I am using Windows 2000 though, not unix.

Ok, but:

1) GET A REAL CLIENT: quote wrapping is broken

2) POST YOUR REPLY BELOW THE ORIGINAL TEXT

mvrgr, Wouter

--
uws mail u...@xs4all.nl

i can't imagine why you wouldn't welcome any change :: my friend -- tool

Antony

unread,
Jun 15, 2003, 11:33:34 AM6/15/03
to
uws wrote:

> I <3eea1e09$0$11382$cc9e...@news.dial.pipex.com>, Paul
> R. skrev:
> > I am using Windows 2000 though, not unix.
>
> Ok, but:
>
> 1) GET A REAL CLIENT: quote wrapping is broken

I'm sure his news program seems real enough -- to him at
least. (test)

> 2) POST YOUR REPLY BELOW THE ORIGINAL TEXT
>
> mvrgr, Wouter

Yeah that can be annoying, but so can shouting ;-) By the
way, been meaning to ask, what does `mvrgr' mean?

More to the point, if you :set go= and then maximise gvim,
you get a fullscreen vim, apart from the title bar. And as
you can configure the title bar to display useful
information, this isn't so bad.

Antony

uws

unread,
Jun 15, 2003, 3:50:37 PM6/15/03
to
I <ac6de390.03061...@posting.google.com>, Antony skrev:

> By the way, been meaning to ask, what does `mvrgr' mean?

Those are the first letters of `Met VRiendelijke Groet(en)', which means
`with kind regards' in Dutch.

mvrgr, Wouter

--
uws mail u...@xs4all.nl

hold your breath :: count to ten :: fall apart :: start again -- placebo

Antony

unread,
Jun 15, 2003, 7:56:47 PM6/15/03
to
Paul R. wrote:

> [...]


>
> I have tried many of the options described in the help
> files as to ways to get a file explorer. I am not able to
> get it working, I don't seem to be able to split the
> screen vertically with a file explorer on the left, and

> [...]

See

:h file-explorer

In particular:

| To control whether the split is made horizontally or
| vertically, use: >
| let g:explVertical=1 " Split vertically

Personally, I start it as described here:

| 1. Starting the file explorer *expl-starting*
|
| This plugin is used to explore directories inside Vim.
| The file explorer is launched whenever the user tries to
| edit a directory.

I.e.

:e.

For an explorer for the current directory. So for a vertical
split, you can type

:vsp.

I have vim automatically cd to the directory of the loaded
file when I enter its buffer, so this is very convenient for
me.

Antony

Antony

unread,
Jun 15, 2003, 8:57:04 PM6/15/03
to
uws wrote:

> I <ac6de390.03061...@posting.google.com>,
> Antony skrev:

Indeed I do!

> > By the way, been meaning to ask, what does `mvrgr'
> > mean?
>
> Those are the first letters of `Met VRiendelijke
> Groet(en)', which means `with kind regards' in Dutch.
>
> mvrgr, Wouter

Oh, that's really interesting. Different yet the same.

With friendly greetings,

Antony :-)

uws

unread,
Jun 16, 2003, 4:23:29 AM6/16/03
to
I <ac6de390.03061...@posting.google.com>, Antony skrev:
> uws wrote:
> > I <ac6de390.03061...@posting.google.com>,
> > Antony skrev:
> Indeed I do!
> > > By the way, been meaning to ask, what does `mvrgr'
> > > mean?
> > Those are the first letters of `Met VRiendelijke
> > Groet(en)', which means `with kind regards' in Dutch.
> Oh, that's really interesting. Different yet the same.
> With friendly greetings,

Oh, and before you start wondering, `skrev' in my reply_attribution is
Danish, not Dutch ;-)

mvrgr, Wouter

--
uws mail u...@xs4all.nl

i'm unclean :: a libertine -- placebo

Antony

unread,
Jun 16, 2003, 8:56:01 AM6/16/03
to
uws wrote:

> [...]

> Oh, and before you start wondering, `skrev' in my
> reply_attribution is Danish, not Dutch ;-)

> [...]

That is also interesting. I thought my surname derived from
Latin. But my surname is more common in the North of England
where the Scandinavian influence on English is at its
strongest. Hmm. I think we're getting just a tiny bit off-
topic here :-)

Antony

0 new messages