about summary refs log tree commit diff
path: root/init-bindings.el
diff options
context:
space:
mode:
Diffstat (limited to 'init-bindings.el')
-rw-r--r--init-bindings.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/init-bindings.el b/init-bindings.el
index d4026f157b50..2242bf733e9a 100644
--- a/init-bindings.el
+++ b/init-bindings.el
@@ -44,3 +44,14 @@
 
 ;; Replace standard goto-line with goto-line-with-feedback
 (global-set-key (kbd "M-g g") 'goto-line-with-feedback)
+
+;; Goodness from @magnars
+;; I don't need to kill emacs that easily
+;; the mnemonic is C-x REALLY QUIT
+(global-set-key (kbd "C-x r q") 'save-buffers-kill-terminal)
+(global-set-key (kbd "C-x C-c") 'delete-frame)
+
+;; Create new frame
+(define-key global-map (kbd "C-x C-n") 'make-frame-command)
+
+(provide 'init-bindings)