Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Switch to previous buffer with s-j

  • Loading branch information...
commit 0af0b4033b3a7fc680d3616ce254da0d7eefcaa1 1 parent c447ed4
@magnars authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 key-bindings.el
View
4 key-bindings.el
@@ -132,6 +132,10 @@
(global-set-key (kbd "M-`") 'file-cache-minibuffer-complete)
(global-set-key (kbd "C-x C-b") 'ibuffer)
+;; toggle two most recent buffers
+(fset 'quick-switch-buffer [?\C-x ?b return])
+(global-set-key (kbd "s-j") 'quick-switch-buffer)
+
;; Revert without any fuss
(global-set-key (kbd "M-<escape>")
(lambda () (interactive) (revert-buffer t t)))
Please sign in to comment.
Something went wrong with that request. Please try again.