Run tracker script automatically with firestarter
This commit is contained in:
parent
702c0bd5b0
commit
fd515b5266
1 changed files with 12 additions and 0 deletions
12
config.org
12
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=.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue