Added Tridactyl auto-mode for work redmine.

This commit is contained in:
James Patrick 2023-01-31 22:33:03 -05:00
parent 0c94f4f92d
commit 34900333b7
2 changed files with 9 additions and 0 deletions

View File

@ -25,6 +25,8 @@
doom-variable-pitch-font (font-spec :family "Alegreya" :height 1.3) doom-variable-pitch-font (font-spec :family "Alegreya" :height 1.3)
doom-big-font (font-spec :family "Hasklig" :size 18)) doom-big-font (font-spec :family "Hasklig" :size 18))
(add-to-list 'auto-mode-alist '("/\\(tmp\\|private/var\\)/.*/tmp_redmine.greenfiling.com.*\\.txt" . markdown-mode))
(setq fancy-splash-image (concat doom-user-dir "./.resources/doom.png")) (setq fancy-splash-image (concat doom-user-dir "./.resources/doom.png"))
(setq ispell-dictionary "en" (setq ispell-dictionary "en"

View File

@ -115,6 +115,13 @@ I use the [[https://www.nerdfonts.com/][nerdfont]]'s [[https://github.com/i-tu/H
doom-big-font (font-spec :family "Hasklig" :size 18)) doom-big-font (font-spec :family "Hasklig" :size 18))
#+end_src #+end_src
*** Tridactyl
I am currently using Firefox with [[https://github.com/tridactyl/tridactyl][Tridactyl]]. The =editorcmd= creates a temporary file & opens it with the editor of choice. The domain is included in the temporary file name. We can use this to set the syntax of the file in question. This likely just be markdown.
#+begin_src emacs-lisp
(add-to-list 'auto-mode-alist '("/\\(tmp\\|private/var\\)/.*/tmp_redmine.greenfiling.com.*\\.txt" . markdown-mode))
#+end_src
** Doom Modules ** Doom Modules
The configuration is below is pulled from the template =init.example.el= provided by doom. This one is based off commit [[https://github.com/doomemacs/doomemacs/blob/e96624926d724aff98e862221422cd7124a99c19/templates/init.example.el][e966249]]. The configuration is below is pulled from the template =init.example.el= provided by doom. This one is based off commit [[https://github.com/doomemacs/doomemacs/blob/e96624926d724aff98e862221422cd7124a99c19/templates/init.example.el][e966249]].