Wednesday, September 15, 2010

Re: nerdtree/command-t - and split windows?

On 14 sep, 22:50, Rick R <ric...@gmail.com> wrote:
>
> How do I close a split window and force any new windows to use the existing
> window that is remaining (not counting the left hand window with NerdTree in
> it.) I've been reading over the vim windows docs but am not having much luck
> figuring out what's going wrong.

Hi, I'm the author of Command-T. The default behavior is to open
normally (ie. without a split) in whatever existing window is current.
It will try to avoid opening in "special" windows like the NERDTree
pane, or MiniBufExplorer etc. If one of those is current, it will
cycle through until it finds one which is a non-"special" window, and
only if there are none will it resort to splitting.

So if you're seeing splitting all the time, my first suspicion would
be something fishy in your .vimrc file. Could you post that so we can
look at it?

Cheers,
Wincent

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment