From 304d9e6c19df6e78b53b896a710f5f801a988222 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 8 Sep 2020 11:50:44 +0300 Subject: emacs: bind compile, recompile to f5, c-f5 --- emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) 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 "") 'compile) +(global-set-key (kbd "C-") 'recompile) + (when (display-graphic-p) (global-unset-key "\C-x\C-c") (global-unset-key "\C-z") -- cgit v1.2.1