Compare commits

..

10 Commits

Author SHA1 Message Date
EliasVincent 36a8bb32ac removed github footer 2024-12-27 14:48:12 +01:00
EliasVincent 12da982d43 splash! 2024-12-27 14:45:12 +01:00
EliasVincent fb1e313f39 org-download and auto image toggle 2024-12-27 11:56:24 +01:00
EliasVincent c1ebd1e47e org-journal format 2024-12-27 11:21:25 +01:00
EliasVincent 273517faf2 org-journal 2024-12-27 11:17:45 +01:00
EliasVincent 223c0d1e92 plus 2024-12-22 17:57:44 +01:00
EliasVincent c46916c79c reload on save 2024-12-22 17:55:10 +01:00
EliasVincent 76a100e3a2 snippets! 2024-12-21 21:22:13 +01:00
EliasVincent 95fb7c92c7 emmet 2024-12-20 11:53:34 +01:00
EliasVincent c3e5eae8bf latex fixes 2024-12-20 11:27:30 +01:00
5 changed files with 56 additions and 1 deletions

View File

@ -78,3 +78,50 @@
;; MY CONFIG
(add-hook 'org-mode-hook #'auto-fill-mode)
(add-hook 'org-mode-hook 'org-toggle-inline-images)
;;(eval-after-load "tex"
;; '(add-to-list 'TeX-command-list
;; '("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")))
;;(setq TeX-auto-save t)
;;(setq TeX-parse-self t)
(after! tex
(setq TeX-engine 'default)
(setq TeX-command-list
(cons '("Biber" "biber %s" TeX-run-BibTeX nil t :help "Run Biber")
(cl-remove-if (lambda (cmd) (string-equal "BibTeX" (car cmd)))
TeX-command-list)))
(setq TeX-command-default "LaTeX"))
;; DOOM Splash Screen
(add-hook! '+doom-dashboard-functions :append
(insert "\n" (+doom-dashboard--center +doom-dashboard--width ":3")))
(setq fancy-splash-image (concat doom-user-dir "splash.png"))
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-footer)
;; emmet mode
(after! emmet-mode
(add-hook 'html-mode-hook 'emmet-mode)
(add-hook 'css-mode-hook 'emmet-mode)
(add-hook 'jade-mode-hook 'emmet-mode) ; If you use Jade files
(add-hook 'web-mode-hook 'emmet-mode)) ; If you use web-mode
(after! emmet-mode
(define-key emmet-mode-keymap (kbd "C-j") 'emmet-expand-line))
;; Org Src block
(after! org
(define-abbrev org-mode-abbrev-table "osb"
'(lambda () (insert "#+BEGIN_SRC ")
(backward-char 13)
(insert "\n\n#+END_SRC")
(forward-char 13)))
(abbrev-mode 1)) ;; enable abbrev mode
;; reload files on save
(global-auto-revert-mode 1)
(setq global-auto-revert-non-file-buffers t)
(after! org-journal
(setq org-journal-dir "~/Nextcloud/org/journal")
(setq org-journal-file-format "%Y_%m_%d.org")
)
(after! org-download
(setq-default org-download-image-dir "~/Nextcloud/org/img")
(add-hook 'dired-mode-hook 'org-download-enable)
)

View File

@ -5,7 +5,8 @@
;; If there is more than one, they won't work right.
'(custom-safe-themes
'("4594d6b9753691142f02e67b8eb0fda7d12f6cc9f1299a49b819312d6addad1d" "2b501400e19b1dd09d8b3708cefcb5227fda580754051a24e8abf3aff0601f87" "2721b06afaf1769ef63f942bf3e977f208f517b187f2526f0e57c1bd4a000350" "4ade6b630ba8cbab10703b27fd05bb43aaf8a3e5ba8c2dc1ea4a2de5f8d45882" "d481904809c509641a1a1f1b1eb80b94c58c210145effc2631c1a7f2e4a2fdf4" "014cb63097fc7dbda3edf53eb09802237961cbb4c9e9abd705f23b86511b0a69" default))
'(org-agenda-files '("~/Nextcloud/org/main.org" "/home/cat/org/notes.org")))
'(org-agenda-files '("~/Nextcloud/org/main.org" "/home/cat/org/notes.org"))
'(package-selected-packages '(org-download org-journal)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -47,3 +47,7 @@
;; (unpin! pinned-package another-pinned-package)
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;; (unpin! t)
(package! emmet-mode)
(package! org-journal)
(package! org-download)

View File

@ -0,0 +1,3 @@
#+BEGIN_SRC ${1:lang}
${2:code}
#+END_SRC

BIN
splash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB