Adding github to auto-mode-alist
This commit is contained in:
		
							parent
							
								
									d04bda7426
								
							
						
					
					
						commit
						fd6003233a
					
				| 
						 | 
					@ -25,7 +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))
 | 
					(add-to-list 'auto-mode-alist '("/\\(tmp\\|private/var\\)/.*/tmp_.*.greenfiling.com.*\\.txt" . markdown-mode))
 | 
				
			||||||
 | 
					(add-to-list 'auto-mode-alist '("/\\(tmp\\|private/var\\)/.*/tmp_.*.github.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"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -124,7 +124,8 @@ I use the [[https://www.nerdfonts.com/][nerdfont]]'s [[https://github.com/i-tu/H
 | 
				
			||||||
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.
 | 
					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
 | 
					#+begin_src emacs-lisp
 | 
				
			||||||
(add-to-list 'auto-mode-alist '("/\\(tmp\\|private/var\\)/.*/tmp_redmine.greenfiling.com.*\\.txt" . markdown-mode))
 | 
					(add-to-list 'auto-mode-alist '("/\\(tmp\\|private/var\\)/.*/tmp_.*.greenfiling.com.*\\.txt" . markdown-mode))
 | 
				
			||||||
 | 
					(add-to-list 'auto-mode-alist '("/\\(tmp\\|private/var\\)/.*/tmp_.*.github.com.*\\.txt" . markdown-mode))
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
 | 
					
 | 
				
			||||||
** Doom Modules
 | 
					** Doom Modules
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user