aboutsummaryrefslogtreecommitdiff
path: root/Doom/.doom.d/org/config.org
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-24 00:38:37 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-24 00:38:37 +0100
commit4c1466cd57704216125127bf20d54e4488c4817b (patch)
tree1b61c2b0ff281bf2209168f61a1bcd03552a4b81 /Doom/.doom.d/org/config.org
parent5190885771e07fd69b3a940b7993c034a730dc55 (diff)
downloaddotfiles-4c1466cd57704216125127bf20d54e4488c4817b.tar.gz
dotfiles-4c1466cd57704216125127bf20d54e4488c4817b.tar.bz2
dotfiles-4c1466cd57704216125127bf20d54e4488c4817b.zip
+recompile bindings for compilation buffer
Diffstat (limited to 'Doom/.doom.d/org/config.org')
-rw-r--r--Doom/.doom.d/org/config.org12
1 files changed, 10 insertions, 2 deletions
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