summaryrefslogtreecommitdiff
path: root/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/init.el')
-rw-r--r--emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 52bcb38..475b4e7 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -122,6 +122,11 @@
(add-hook 'prog-mode-hook 'hl-line-mode)
+;; Key bindings
+
+(global-set-key (kbd "<f5>") 'compile)
+(global-set-key (kbd "C-<f5>") 'recompile)
+
(when (display-graphic-p)
(global-unset-key "\C-x\C-c")
(global-unset-key "\C-z")