1

Possible Duplicate:
How can I more easily switch between buffers in Emacs?

GNU Emacs 24.1.1

Hello,

When I want to switch buffers I use the following C-x C-b if I have many buffers active. But I find it very inefficient.

And it will display a lists of open buffers in the next buffer (I don't like this in the next buffer). Normally I have 4 buffers open at the same time.

Using the above I will then have to put the cursor (C-o) to get focus in the buffer-list buffer, when scroll up or down to select the buffer I want.

Sometimes I use C-x-b if I don't have many active buffers. However, I always have many.

However, I am looking for something then will open up a small buffer with a list of buffers (the minimum needed - just enough to show all buffers), and will automatically have focus. I scroll to select the buffer I want. And it will appear in the buffer I had focus on before I open the list of buffers. The buffer-list will then disappear.

Does anyone know of anything like this to make switching buffers easier.

Many thanks for any advice,

Community
  • 1
  • 1
ant2009
  • 27,094
  • 154
  • 411
  • 609

2 Answers2

3

Check ido-mode. C-x C-b is the old way.

The ido lets you interactively do things with buffers and files.
louxiu
  • 2,830
  • 3
  • 28
  • 42
3

Apart from ido-mode, good buffer switching solutions are:

  1. Plain-old C-x b + icomplete-mode
  2. ibuffer - just rebind C-x C-b to ibuffer to see it in action:

    (global-set-key (kbd "C-x C-b") 'ibuffer)

  3. Helm - an incremental narrowing and selection framework useful to find just about anything (buffers included).

Bozhidar Batsov
  • 55,802
  • 13
  • 100
  • 117