aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-09-13 20:49:48 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:45:42 +0100
commit0217fee4673b968a0d40b90e39710382602605b6 (patch)
tree85dcea9ae5ba172d70230bcf2c48f27908658e1a
parent072fbf576082e16b136511cc0740e4120f615c69 (diff)
downloaddotfiles-0217fee4673b968a0d40b90e39710382602605b6.tar.gz
dotfiles-0217fee4673b968a0d40b90e39710382602605b6.tar.bz2
dotfiles-0217fee4673b968a0d40b90e39710382602605b6.zip
(Emacs)+compile keybindings
next-error, previous-error and recompile to make compilation easier: I can now traverse through errors and retry compiling without having to leave code buffers!
-rw-r--r--Emacs/.config/emacs/config.org6
1 files changed, 5 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 1935d20..1bb518d 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -293,7 +293,11 @@ Add bindings for ~+literate/~ namespace, allows for quick reloads.
"p" (proc (interactive) (find-file (concat user-emacs-directory "config.org"))))
(leader
- "cc" #'compile)
+ :infix "c"
+ "j" #'next-error
+ "k" #'previous-error
+ "c" #'compile
+ "C" #'recompile)
(leader
"si" #'imenu)