[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I switch between buffers using keyboard shortcut?
From: |
Robert Thorpe |
Subject: |
Re: How do I switch between buffers using keyboard shortcut? |
Date: |
1 Jan 2007 05:21:17 -0800 |
User-agent: |
G2/1.0 |
Logan Lee wrote:
> C-left or C-right don't work for me. :?
These keys work in Emacs version newer than 21.4 but not in those
older.
You should be able to remove the lines mentioned by the other poster
from your .emacs if you switch to Emacs 22.
Generally the keys are:-
C-x b switch-to-buffer - Prompts for a buffer name with completion
C-x 4 b switch-to-buffer-other-window
C-x 5 b switch-to-buffer-other-frame
C-x C-b list-buffer - Presents a list allows the user to select
C-x <left> previous-buffer - Previous buffer, on Emacs 22
C-x <right> next-buffer - Next buffer on Emacs 22
C-x o other-window - Switch to other window
I also bing C-<tab> so it switches to the other buffer with
(global-set-key [C-tab] (lambda (buf) (interactive "i")
(switch-to-buffer
(other-buffer))))