config/doom: enable ruby on rails and automatically add modified time-stamps

This commit is contained in:
xeruf 2021-12-16 23:27:51 +01:00
parent 1637508a45
commit e749e78831
3 changed files with 14 additions and 1 deletions

View File

@ -242,6 +242,13 @@ Version 2019-11-04 2021-02-16"
(setq org-id-method 'org (setq org-id-method 'org
org-id-ts-format "%Y%m%dT%H%M%S") org-id-ts-format "%Y%m%dT%H%M%S")
;; From https://github.com/org-roam/org-roam/issues/1935#issuecomment-968047007
(require 'time-stamp)
(setq time-stamp-start "modified:[ ]+\\\\?")
(setq time-stamp-end "$")
(setq time-stamp-format "%Y-%m-%dT%H%M%S")
(add-hook 'before-save-hook #'time-stamp)
;; Visuals ;; Visuals
; https?[0-z.\/-]*\.(png|jpg)\?[^?]* ; https?[0-z.\/-]*\.(png|jpg)\?[^?]*
(setq org-image-actual-width nil) (setq org-image-actual-width nil)

View File

@ -155,7 +155,7 @@
;;raku ; the artist formerly known as perl6 ;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client ;;rest ; Emacs as a REST client
;;rst ; ReST in peace ;;rst ; ReST in peace
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} (ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good ;;scala ; java, but good
;;scheme ; a fully conniving family of lisps ;;scheme ; a fully conniving family of lisps

View File

@ -80,3 +80,9 @@
(package! osm-mode (package! osm-mode
:recipe (:host github :repo "ruediger/osm-mode")) :recipe (:host github :repo "ruediger/osm-mode"))
(unpin! plantuml-mode)
(package! plantuml-mode
:recipe (:host github :repo "a1exsh/plantuml-mode"))
(package! kill-or-bury-alive) ; https://github.com/mrkkrp/kill-or-bury-alive