Why does :q kill my emacs?
Guido Van Hoecke
guido at vanhoecke.org
Wed Jan 26 11:25:11 CET 2011
On Wed, Jan 26, 2011 at 09:59, Daniel Borba <dborba at gmail.com> wrote:
> That is the expected behavior in Vim. What you describe would lead believe
I think that this is not correct. From the vim help file:
:q[uit] Quit the current window. Quit Vim if this is the last
window. This fails when changes have been made and
Vim refuses to |abandon| the current buffer, and when
the last file in the argument list has not been
edited.
If there are other tab pages and quitting the last
window in the current tab page the current tab page is
closed |tab-page|.
> that Vimpulse in its attempt to more closely emulate Vim causes it to behave
> that way. To achieve what you want in Vim you'd use :bd :bdel :bdelete which
> kills the current buffer - I would expect Vimpulse has that implemented
> given the change in behavior you described.
Anyhow I really would like to be able to :wq without loosing emacs. I
don't think one can thing that this can only be achieved by :w
followed by :bd
So please advise about how to setup so that :q quits the current
buffer, preferably without changing my window configuration.
TIA, guivho.
More information about the implementations-list
mailing list