about summary refs log tree commit diff
path: root/init-bindings.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-08-06T22·49+0200
committerVincent Ambo <vincent@spotify.com>2013-08-06T22·49+0200
commit503600091e63ebe63c8a84ec6b8a6120ff89dc23 (patch)
tree861408eb7b1854d956d1e73f41030205c636ba41 /init-bindings.el
parent43a99dea3aa6651b1b060ace714bddc1e10925ea (diff)
* Providing all init files, loading them with require
* Moved load-file-if-exists to init-functions
* Added init-misc.el for random things that don't fit anywhere else
* Never any tabs, ever. Go away!

Bindings:
* quit Emacs -> C-x r q ("real quit")
* delete-frame -> C-x C-c
* make-frame -> C-x C-n
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)