config/doom: small simplifications

This commit is contained in:
xeruf 2022-01-11 20:03:37 +01:00
parent f879fabc53
commit e763fb6a75
4 changed files with 5 additions and 4 deletions

View File

@ -1,2 +1,3 @@
local.el local.el
custom.el custom.el
user.el

View File

@ -418,7 +418,7 @@ Version 2019-11-04 2021-02-16"
(interactive) (interactive)
(when (equal major-mode 'org-mode) (org-roam-db-sync) (let ((org-display-remote-inline-images 'skip)) (org-roam-update-org-id-locations)) (org-mode-restart))) (when (equal major-mode 'org-mode) (org-roam-db-sync) (let ((org-display-remote-inline-images 'skip)) (org-roam-update-org-id-locations)) (org-mode-restart)))
(my/auto-org-roam-db-sync-mode) (if (file-exists-p org-roam-directory) (my/auto-org-roam-db-sync-mode))
) )
(after! ox (after! ox
@ -455,7 +455,7 @@ Version 2019-11-04 2021-02-16"
(ox-extras-activate '(ignore-headlines)) (ox-extras-activate '(ignore-headlines))
(require 'ox-latex) (require 'ox-latex)
(add-to-list 'org-latex-classes (add-to-list 'org-latex-classes
'("article4" "\\documentclass[11pt]{article} \\usepackage{titlesec} \\titleformat{\\paragraph}{\\normalfont\\normalsize\\itshape}{\\theparagraph}{1em}{} \\titlespacing*{\\paragraph}{0pt}{2ex plus 1ex minus .2ex}{.5ex plus .2ex}" '("article4" "\\documentclass{article} \\usepackage{titlesec} \\titleformat{\\paragraph}{\\normalfont\\normalsize\\itshape}{\\theparagraph}{1em}{} \\titlespacing*{\\paragraph}{0pt}{2ex plus 1ex minus .2ex}{.5ex plus .2ex}"
("\\section{%s}" . "\\section*{%s}") ("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")

View File

@ -64,7 +64,8 @@
(package! evil-replace-with-register) ; grrrrr (package! evil-replace-with-register) ; grrrrr
(package! visual-fill-column) ; Soft line wrapping at character count (package! visual-fill-column) ; Soft line wrapping at character count
(package! activity-watch-mode) ; eagle eyes (package! activity-watch-mode
:recipe (:host github :repo "xeruf/activity-watch-mode")) ; eagle eyes
(package! togetherly) ; Collaborative editing (package! togetherly) ; Collaborative editing
(package! direnv) ; directory-local environment for haskell-nix things (package! direnv) ; directory-local environment for haskell-nix things

View File

@ -1 +0,0 @@
user.el##user.janek