I usually type M-x buffer-menu to switch buffers in Emacs. How can I do this with a shorter command? Its quite a long string to type.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
C-x bto change buffers. You have to enter the first few letters of the buffer name, and of course you can use completion. If you pressTAB(the most useful key in Emacs), a list of (matching) buffers appears. You can click in this list to switch to a buffer.You can bind
buffer-menuto a key. Pick a key that’s not used for another command — let’s sayf12— and add the following line to the file~/.emacs:There are many other interfaces to changing buffers in Emacs, and they can be significantly more efficient than
C-x bandC-x C-b. Since this tends to be a very personal choice, I recommend you experiment with a few and keep the one(s) you feel most comfortable with.