Compare commits
No commits in common. "36a8bb32acd83b6e0e419e9585248ebab394c232" and "a368f5032f5e5a590612c799e4658d1c3c8337d0" have entirely different histories.
36a8bb32ac
...
a368f5032f
47
config.el
47
config.el
|
@ -78,50 +78,3 @@
|
|||
|
||||
;; 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)
|
||||
)
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
;; 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"))
|
||||
'(package-selected-packages '(org-download org-journal)))
|
||||
'(org-agenda-files '("~/Nextcloud/org/main.org" "/home/cat/org/notes.org")))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
|
|
@ -47,7 +47,3 @@
|
|||
;; (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)
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#+BEGIN_SRC ${1:lang}
|
||||
${2:code}
|
||||
#+END_SRC
|
BIN
splash.png
BIN
splash.png
Binary file not shown.
Before Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue