Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I pull up the buffer selection window in emacs, Ctrl-X Ctrl-B, I then have to Ctrl-X o to put the cursor in the new buffer.

Is there to make the cursor automatically active in the new buffer window after Ctrl-X Ctrl-B?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You might want to set C-x C-b to run buffer-menu, buffer-menu-other-window or electric-buffer-menu instead (put e.g. (global-set-key "\C-x\C-b" 'electric-buffer-menu) in your .emacs).

There are many alternative packages for buffer switching. As this is a rather personal choice, I'll just point you to the wiki page.

share|improve this answer
    
Very neat, thanks. I went with electric-buffer-list as it automatically expands the selection to the whole window. –  Joel Dec 1 '10 at 9:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.