@@ -87,7 +87,7 @@ Ensure environment variables (like ~PATH~) are loaded from SHELL:
87
87
88
88
* Aesthetics
89
89
** Theme
90
- I manage my Emacs theme with ~doom-themes~. Although I'm currently in love with Gruvbox, I like to swap things around from time to time, and ~doom-themes~ bundles up a lot of great themes for me to try.
90
+ I manage my Emacs theme with ~doom-themes~. I like to swap things around from time to time, and ~doom-themes~ bundles up a lot of great themes for me to try.
91
91
#+BEGIN_SRC emacs-lisp :results output silent :results output silent
92
92
(use-package solaire-mode
93
93
;; Darkens "support" buffers (those not opening a file) to help distinguish them
@@ -99,12 +99,15 @@ I manage my Emacs theme with ~doom-themes~. Although I'm currently in love with
99
99
(setq doom-themes-enable-bold t
100
100
doom-themes-enable-italic t
101
101
doom-nord-brighter-comments t
102
- doom-gruvbox-brighter-comments t
103
102
doom-dracula-colorful-headers t
104
103
doom-dracula-brighter-comments t
105
104
doom-dracula-comment-bg nil
105
+ doom-solarized-dark-high-contrast-brighter-modeline nil
106
+ doom-solarized-dark-high-contrast-brighter-comments t
107
+ doom-solarized-dark-brighter-text t
108
+ doom-gruvbox-brighter-comments t
106
109
doom-gruvbox-dark-variant "hard")
107
- (load-theme 'doom-dracula t )
110
+ (load-theme 'doom-solarized-dark )
108
111
109
112
;; Enable flashing mode-line on errors
110
113
(doom-themes-visual-bell-config)
@@ -770,8 +773,9 @@ The org mode itself.
770
773
** Bibliography and references
771
774
#+BEGIN_SRC emacs-lisp :results output silent
772
775
(setq bibtex-completion-bibliography (list (concat org-directory "bibliography/references.bib"))
773
- bibtex-completion-library-path (concat org-directory "bibliography/pdfs/ ")
776
+ bibtex-completion-library-path (concat org-directory "bibliography/pdfs")
774
777
bibtex-completion-notes-path (concat org-directory "notes")
778
+ bibtex-completion-pdf-field "File"
775
779
org-bibtex-file (list (concat org-directory "bibliography/references.bib"))
776
780
bibtex-completion-notes-template-multiple-files ":PROPERTIES:\n:ID: ${id}\n:Custom_ID: ${=key=}\n:AUTHOR: ${author-or-editor}\n:ROAM_REFS: ${citekey}\n:BTYPE: \n:YEAR: ${year}\n:END:\n#+TITLE: ${title}\n#+AUTHOR: ${author}\n#+FILETAGS: ${keywords}\n#+DATE: %U\n#+STARTUP: inlineimages\n#+STARTUP: latexpreview\n")
777
781
@@ -782,9 +786,7 @@ The org mode itself.
782
786
(inproceedings . "${=has-pdf=:1}${=has-note=:1} ${=type=:4} ${year:4} ${author:36} ${title:*} ${booktitle:40}")
783
787
(t . "${=has-pdf=:1}${=has-note=:1} ${=type=:4} ${year:4} ${author:36} ${title:*}")))
784
788
785
- (setq bibtex-completion-pdf-open-function
786
- (lambda (fpath)
787
- (start-process "open" "*open*" "open" fpath)))
789
+ (setq bibtex-completion-pdf-open-function 'find-file)
788
790
789
791
(use-package org-ref
790
792
:after org-roam)
@@ -808,9 +810,6 @@ The org mode itself.
808
810
:config
809
811
(setq ivy-re-builders-alist '((ivy-bibtex . ivy--regex-ignore-order)
810
812
(t . ivy--regex-plus))
811
- bibtex-completion-bibliography (concat org-directory "bibliography/references.bib")
812
- bibtex-completion-pdf-field "File"
813
- bibtex-completion-notes-path (concat org-directory "notes")
814
813
bibtex-completion-additional-search-fields '(keywords))
815
814
:bind
816
815
(("C-c n B" . ivy-bibtex)))
@@ -841,6 +840,8 @@ The org mode itself.
841
840
(:map org-mode-map :package org ("C-c n b" . #'org-cite-insert)))
842
841
843
842
(org-roam-bibtex-mode)
843
+
844
+ (use-package pdf-tools)
844
845
#+END_SRC
845
846
846
847
** Deft
@@ -998,6 +999,7 @@ Language server protocol for auto-completion with company-mode.
998
999
(rust-ts-mode . lsp)
999
1000
(typescript-mode . lsp)
1000
1001
(typescript-ts-mode . lsp)
1002
+ (tsx-ts-mode . lsp)
1001
1003
(go-mode . lsp)
1002
1004
(go-ts-mode . lsp)
1003
1005
(lsp-mode . lsp-enable-which-key-integration))
@@ -1080,16 +1082,8 @@ Language server protocol for auto-completion with company-mode.
1080
1082
1081
1083
** Typescript
1082
1084
#+BEGIN_SRC emacs-lisp :results output silent
1083
- (use-package web-mode)
1084
- (add-to-list 'auto-mode-alist '("\\.jsx\\'" . web-mode))
1085
- (add-to-list 'auto-mode-alist '("\\.tsx\\'" . web-mode))
1086
-
1087
1085
(setq typescript-ts-mode-indent-offset 4)
1088
1086
1089
- (use-package tide
1090
- :ensure t
1091
- :after (typescript-mode company flycheck)
1092
- :hook ((typescript-mode . tide-setup)
1093
- (typescript-mode . tide-hl-identifier-mode)
1094
- (before-save . tide-format-before-save)))
1087
+ (use-package tsx-mode
1088
+ :straight (:host github :repo "orzechowskid/tsx-mode.el" :branch "emacs29"))
1095
1089
#+END_SRC
0 commit comments