If I have two windows open, and one of them is a 'help' buffer, closing 
the other buffer exits the program.  I would like to get this same 
behavior with the 'Results' buffer from the dbext extension.  (i.e. 
while editing an SQL file and running some queries from within, if I 
then do ':q' or 'ZZ', the whole program should exit.)

I can get this to work using

:setl bt=help

in the Results buffer.  (The only other local setting in the help buffer 
that seemed relevant was 'nobuflisted'.)

But, this lists 'Results' as a [Help] buffer, and from :h 'buftype', it 
cautions that:

        The value of this option specifies the type of a buffer:
[...]
          help          help buffer (you are not supposed to set this manually)

I suspect it would be better to do this some other way, but I'm not sure 
how.

-- 
Best,
Ben

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to