Skip to content

Instantly share code, notes, and snippets.

@etscrivner
Created April 15, 2013 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etscrivner/5390062 to your computer and use it in GitHub Desktop.
Save etscrivner/5390062 to your computer and use it in GitHub Desktop.
(defun restore-last-buffer ()
(interactive)
(set-buffer (last-buffer)))
(global-set-key (kbd "<s-wheel-up>") 'bury-buffer)
(global-set-key (kbd "<s-wheel-down>") 'restore-last-buffer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment