Add recompile binding in Comint-mode compilation buffers

This commit is contained in:
Jeremy Dormitzer 2020-02-19 09:30:43 -05:00
parent 666d771133
commit a4ad4ad6e3

View File

@ -5369,12 +5369,12 @@ Enable ANSI colors in compile buffers:
(add-hook 'compilation-filter-hook #'colorize-compilation-buffer) (add-hook 'compilation-filter-hook #'colorize-compilation-buffer)
#+END_SRC #+END_SRC
Ensure the "q" will quit-window even in Comint-mode compilation buffers: Set up some keybindings for Comint-mode compilation buffers:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(general-def (normal visual motion) compilation-shell-minor-mode-map "q" #'quit-window) (general-def (normal visual motion) compilation-shell-minor-mode-map "q" #'quit-window)
(general-def (normal visual motion) compilation-shell-minor-mode-map "gr" #'recompile)
#+END_SRC #+END_SRC
* Wallabag * Wallabag
[[https://github.com/jdormit/emacs-wallabag-client][My Wallabag client]] is still a WIP, but it is useful enough to pull in right now: [[https://github.com/jdormit/emacs-wallabag-client][My Wallabag client]] is still a WIP, but it is useful enough to pull in right now:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp