help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: close buffer with keystroke?


From: Alan Mackenzie
Subject: Re: close buffer with keystroke?
Date: Wed, 17 Sep 2003 07:48:33 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

Jeff D. Hamann <jeff_hamann@hamanndonald.com> wrote on Tue, 16 Sep 2003
14:26:28 -0700:
> Now I'm not *trying* to post flamebait, but is it possible to
> close/kill a buffer with a keystroke in emacs/ntemacs? I find I get a
> gazillion buffers open and have to close them using the mouse. It's a
> drag.

Jeff, it's possible to do _anything_ in Emacs without a mouse.  I use
Emacs in a Linux console where the mouse is non-functional, and I've
never felt handicapped because of it.

C-x k will kill a specific buffer, defaulting to the current one.

If you've got a few hundred buffers to kill at once, start with C-x C-b
`list-buffers' to, well, list your buffers, go that list (say, with C-x
o), and type d on each buffer you want rid of.  This will mark each such
with a big D.  Finally, type X, and they're all gone.  [If you type a d
in the wrong place, go back there and type u to rub it out.]

> Jeff D. Hamann

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").



reply via email to

[Prev in Thread] Current Thread [Next in Thread]