From 4c1466cd57704216125127bf20d54e4488c4817b Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 24 May 2020 00:38:37 +0100 Subject: +recompile bindings for compilation buffer --- Doom/.doom.d/org/config.org | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Doom/.doom.d/org') diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org index 4c1a3c8..be58273 100644 --- a/Doom/.doom.d/org/config.org +++ b/Doom/.doom.d/org/config.org @@ -210,7 +210,14 @@ Added some calc mode config. An incredibly powerful tool. #+BEGIN_SRC elisp (after! ranger (setq ranger-cleanup-eagerly t) - (setq ranger-show-hidden 't)) + (setq ranger-show-hidden t)) +#+END_SRC +** Compilation +Add keybind to recompile (inside the buffer) +#+BEGIN_SRC elisp +(map! + (:map 'compilation-mode-map + :n "u" #'recompile)) #+END_SRC * Language Config Configuration for various languages which I feel can be useful @@ -492,7 +499,8 @@ General keymap :leader :prefix ("c" . "code") ; Code :desc "Compile" "c" #'compile - :desc "Compile via make" "C" #'+make/run + :desc "Recompile" "C" #'recompile + :desc "Compile via make" "m" #'+make/run :desc "Undo tree" "u" #'undo-tree-visualize :desc "Narrow to function" "n" #'+narrow/toggle-narrow (:after format-all -- cgit v1.2.3-13-gbd6f