This page is a tutorial on switching buffers in emacs. If you don't know what buffers are, first see: Emacs: List Buffers.
When you call
switch-to-buffer 【Ctrl+x b】, emacs prompt you for a name, and you can press Tab ↹ for name completion.
Emacs 22 (released in 2007) has a improved switch buffer command called
ido-mode. It will show a list of candidates AUTOMATICALLY as you type (no need to press Tab ↹ first).
To make ido-mode default for switching buffer, put the following in your emacs init:
;; make buffer switch command auto suggestions, also for find-file command (ido-mode 1)
With the above, the command
switch-to-buffer 【Ctrl+x b】 will call ido's version.
;; make ido display choices vertically (setq ido-separator "\n") ;; display any item that contains the chars you typed (setq ido-enable-flex-matching t)
Most useful Ido keybinding:
See also: Emacs Lisp: Switching Next/Previous User Buffers
Emacs: New Empty Buffer