Skip to content

Commit 3bd2ec2

Browse files
committed
update
1 parent d80d76c commit 3bd2ec2

File tree

5 files changed

+30
-835
lines changed

5 files changed

+30
-835
lines changed

.config/spacemacs/.spacemacs

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ This function should only modify configuration layer settings."
7272
treemacs-use-all-the-icons-theme t ;; don't forget to run all-the-icons-install-font
7373
treemacs-use-git-mode 'deferred) ;; a file system is much like a tree
7474
markdown ;; mark that down Patrick!
75+
latex ;; oh baby its time to go even beyond
7576
pdf ;; refusing to pay adobe is morally right
7677
svelte ;; frontend-for-hipsters
7778
vue ;; vite vite vite vue
78-
;; github-copilot ;; ai is thou
7979
(yaml :variables
8080
yaml-enable-lsp t) ;; evil clearly fomatted
8181
toml ;; what if we tried yet another std
@@ -125,6 +125,12 @@ This function should only modify configuration layer settings."
125125
:ensure t
126126
:config
127127
(exec-path-from-shell-initialize))
128+
pomm ;; pommodero
129+
(lsp-tailwindcss :recipe (:host github :repo "merrickluo/lsp-tailwindcss")
130+
:init
131+
(setq lsp-tailwindcss-add-on-mode t
132+
lsp-log-io t)
133+
)
128134
)
129135

130136
;; A list of packages that cannot be updated.
@@ -656,20 +662,15 @@ before packages are loaded."
656662
;; M-x nerd-icons-install-fonts to fix doom-emacs status line
657663
(add-to-list 'exec-path "/etc/profiles/per-user/henri.vandersleyen/bin")
658664
;; --- misc problems ---
659-
(electric-indent-mode 0) ;; removes the extra tab being added after copy pasting
665+
(setq-default word-wrap t)
666+
(spacemacs/set-leader-keys "obs" 'scratch-buffer)
667+
;; --- pomm ---
668+
(setq pomm-audio-enabled t)
660669
;; --- ai ---
661-
(with-eval-after-load 'company
662-
;; disable inline previews
663-
(delq 'company-preview-if-just-one-frontend company-frontends))
664-
665-
;; (with-eval-after-load 'copilot (define-key copilot-completion-map (kbd "<tab>") 'copilot-accept-completion)
666-
;; (define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion)
667-
;; (define-key copilot-completion-map (kbd "C-TAB") 'copilot-accept-completion-by-word)
668-
;; (define-key copilot-completion-map (kbd "C-<tab>") 'copilot-accept-completion-by-word))
669-
670-
;; (add-hook 'prog-mode-hook 'copilot-mode)
671670
;; --- editorconfig ---
672671
(editorconfig-mode 1)
672+
;; --- tailwindcss ---
673+
(setq lsp-tailwindcss-add-on-mode t)
673674
;; --- js/ts ---
674675
(setq-default
675676
;; js2-mode
@@ -708,8 +709,6 @@ before packages are loaded."
708709
(end-of-line)
709710
(insert " [/]")
710711
))
711-
712-
713712
;; keybinding will only be available in org mode
714713
(add-hook 'org-mode-hook
715714
(lambda ()
@@ -720,6 +719,18 @@ before packages are loaded."
720719
(setq org-todo-keywords
721720
'((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!)")
722721
(sequence "BACKLOG(b)" "PLAN(p)" "READY(r)" "ACTIVE(a)" "REVIEW(v)" "WAIT(w@/!)" "HOLD(h)" "|" "COMPLETED(c)" "CANC(k@)")))
722+
;; --- org-journal ---
723+
(setq org-journal-dir "/home/henri/Documents/zettelkasten/org/journal")
724+
(setq org-directory "/home/henri/Documents/zettelkasten/org")
725+
(setq org-default-notes-file (concat org-directory )) ;; "/notes.org"
726+
(setq find-file-visit-truename t)
727+
;; --- org-agenda ---
728+
(setq org-agenda-files '("~/Documents/zettelkasten/org-roam/"))
729+
;; --- org-roam ---
730+
(setq org-roam-directory "~/Documents/zettelkasten/org-roam")
731+
(setq org-journal-dir "~/Documents/zettelkasten/org/journal")
732+
(setq org-directory "~/Documents/zettelkasten/org")
733+
(setq org-default-notes-file (concat org-directory )) ;; "/notes.org"
723734
;; --- lsp ---
724735
;; Enable lsp-mode for Python
725736
(add-hook 'python-mode-hook #'lsp)
@@ -729,11 +740,6 @@ before packages are loaded."
729740
(add-hook 'js-mode-hook #'lsp)
730741
;; prevents refactor move
731742
(setq lsp-auto-execute-action nil)
732-
;; --- org-roam ---
733-
(setq org-roam-directory "~/Documents/zettelkasten/org-roam")
734-
(setq org-journal-dir "~/Documents/zettelkasten/org/journal")
735-
(setq org-directory "~/Documents/zettelkasten/org")
736-
(setq org-default-notes-file (concat org-directory )) ;; "/notes.org"
737743
;; --- helm ---
738744
;; (setq helm-follow-mode-persistent t) ;; automatically preview files but opens them as a buffer
739745
;; --- perspective ---

0 commit comments

Comments
 (0)