diff --git a/config.org b/config.org index 7db80cf..d9a5e92 100644 --- a/config.org +++ b/config.org @@ -282,6 +282,18 @@ Much nicer-looking modeline. (setq doom-modeline-buffer-encoding nil))) #+END_SRC +** =firestarter= + +Run commands when saving buffers depending on [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html][directory-local variables]]. Using this to automatically run the tracker script when I save files in the journal directory. + +#+BEGIN_SRC emacs-lisp + (unless (string-equal system-type "android") + (unless (string-equal user-login-name "3055822") + (use-package firestarter) + (firestarter-mode) + (put 'firestarter 'safe-local-variable 'identity))) +#+END_SRC + ** =git-gutter= Shows =git diff= in the left margin if the file is being tracked by =git=.