Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add keybinding to create new temp (scratch) buffer.

  • Loading branch information...
commit 60ed969aba090bc378bec65dcdd979537b16246f 1 parent 0fcbf4f
Jordan Ritter jpr5 authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 .emacs.d/keys.el
4 .emacs.d/keys.el
@@ -15,6 +15,10 @@
15 15 (global-set-key (kbd "M-j") 'join-line)
16 16 (global-set-key (kbd "M-SPC") 'fixup-whitespace)
17 17 (global-set-key (kbd "C-M-SPC") 'delete-blank-lines)
  18 +(global-set-key (kbd "C-x t") '(lambda nil
  19 + (interactive)
  20 + (switch-to-buffer-other-window
  21 + (generate-new-buffer "*Temp*"))))
18 22
19 23 ;; Some settings when we're in a windowed environment.
20 24 (when window-system

0 comments on commit 60ed969

Please sign in to comment.
Something went wrong with that request. Please try again.