Permalink
Browse files

Add keybinding to create new temp (scratch) buffer.

  • Loading branch information...
1 parent 0fcbf4f commit 60ed969aba090bc378bec65dcdd979537b16246f @jpr5 jpr5 committed Nov 15, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 .emacs.d/keys.el
View
@@ -15,6 +15,10 @@
(global-set-key (kbd "M-j") 'join-line)
(global-set-key (kbd "M-SPC") 'fixup-whitespace)
(global-set-key (kbd "C-M-SPC") 'delete-blank-lines)
+(global-set-key (kbd "C-x t") '(lambda nil
+ (interactive)
+ (switch-to-buffer-other-window
+ (generate-new-buffer "*Temp*"))))
;; Some settings when we're in a windowed environment.
(when window-system

0 comments on commit 60ed969

Please sign in to comment.