"Chris Kim" chrisk414@hotmail.com writes:
Hi, there.
I would like to assign a hotkey to switch between the last two buffers to compare the differences quickly.
The closest thing I found is "slime-selector l" Is there way I can assign an hotkey to the command above?
Thanks.
I have the following in my .emacs file to switch back and forth between (any) two buffers with C-M-l:
(defun back-forth () "Switch to previous buffer." (interactive) (switch-to-buffer (other-buffer)))
(global-set-key "\C-\M-l" 'back-forth)
Nico