I'm trying to learn Emacs, and I've installed MELPA as a package manager. The only problem is that the only way I know how to exit MELPA is by quitting Emacs entirely. I'm sure there's a better way to do this. What is it?
Killing buffers with Cx k RET
is generally good advice, but it is much easier to quit the package-list-packages
screen by simply pressing q
.
This also works to exit dired
buffers, magit
, and many other types of buffers that aren't text-oriented.
When you use package-list-packages
, it opens a new buffer which displays the list of available packages. This is the same as any other buffer you open, and anything you could normally do to switch to a difference buffer is still available to you.
If you just want to close out the package list, the easiest way is with Cx k <RET>
, which will close the current buffer, and take you back to your previous one. As was pointed out by Chris , this isn't necessary in the package list, as you can simply use q
.
Cx Cf
open file Cx Cb
open buffer list Cx b
open buffer Mx
execute command C - ctrl and M - alt
Also take a tour here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.