Skip to content
Merged

sync #12

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions .config/spacemacs/.spacemacs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ This function should only modify configuration layer settings."
latex ;; oh baby its time to go even beyond
pdf ;; refusing to pay adobe is morally right
svelte ;; frontend-for-hipsters
(vue :variables vue-backend 'lsp) ;; vite vite vite vue
(vue :variables
vue-backend 'lsp
vue-lsp-client 'vls)
(yaml :variables
yaml-enable-lsp t) ;; evil clearly fomatted
toml ;; what if we tried yet another std
Expand Down Expand Up @@ -666,6 +668,7 @@ before packages are loaded."
;; M-x nerd-icons-install-fonts to fix doom-emacs status line
(add-to-list 'exec-path "/etc/profiles/per-user/henri.vandersleyen/bin")
;; --- misc problems ---
(setq-default spacemacs-yank-indent-threshold 0) ;; disables auto indent on pasting
(setq-default word-wrap t)
(spacemacs/set-leader-keys "obs" 'scratch-buffer)
;; --- pomm ---
Expand Down Expand Up @@ -698,6 +701,9 @@ before packages are loaded."
'org-babel-load-languages
'((typescript . t))) ;; Enable TypeScript support

;; --- hl-todo ---
(with-eval-after-load 'hl-todo
(add-to-list 'hl-todo-keyword-faces '("WARN" . "#FFA500")))
;; --- org-general ---
(setq user-mail-address "henri-vandersleyen@protonmail.com")
(add-hook 'org-mode-hook
Expand Down Expand Up @@ -725,8 +731,8 @@ before packages are loaded."
'((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!)")
(sequence "BACKLOG(b)" "PLAN(p)" "READY(r)" "ACTIVE(a)" "REVIEW(v)" "WAIT(w@/!)" "HOLD(h)" "|" "COMPLETED(c)" "CANC(k@)")))
;; --- org-journal ---
(setq org-journal-dir "/home/henri/Documents/zettelkasten/org/journal")
(setq org-directory "/home/henri/Documents/zettelkasten/org")
(setq org-journal-dir "~/Documents/zettelkasten/org/journal")
(setq org-directory "~/Documents/zettelkasten/org")
(setq org-default-notes-file (concat org-directory )) ;; "/notes.org"
(setq find-file-visit-truename t)
;; --- org-agenda ---
Expand All @@ -740,7 +746,6 @@ before packages are loaded."
(add-hook 'python-mode-hook #'lsp)
(add-hook 'typescript-mode-hook #'lsp)
(add-hook 'js-mode-hook #'lsp)
(add-hook 'vue-mode-hook #'lsp)
(add-hook 'json-mode-hook #'lsp)
;; prevents refactor move
(setq lsp-auto-execute-action nil)
Expand Down Expand Up @@ -778,18 +783,12 @@ This function is called at the very end of Spacemacs initialization."
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(helm-source-names-using-follow nil)
'(org-agenda-files
'("/home/henri/Documents/zettelkasten/org-roam/20231228151941-3d_printing.org" "/home/henri/Documents/zettelkasten/org-roam/20231228153323-chinese.org" "/home/henri/Documents/zettelkasten/org-roam/20231228160947-chinese_radicals.org" "/home/henri/Documents/zettelkasten/org-roam/20231228161027-chinese_basic_patterns.org" "/home/henri/Documents/zettelkasten/org-roam/20231228161212-chinese_sentences.org" "/home/henri/Documents/zettelkasten/org-roam/20231228161242-chinese_often_forgotten_words.org" "/home/henri/Documents/zettelkasten/org-roam/20231228162309-chinese_class_notes.org" "/home/henri/Documents/zettelkasten/org-roam/20240101164825-chinese_words_group.org" "/home/henri/Documents/zettelkasten/org-roam/20240109111240-programming.org" "/home/henri/Documents/zettelkasten/org-roam/20240117183030-comtemporary_chinese_vol_3.org" "/home/henri/Documents/zettelkasten/org-roam/20240201095349-openwrt.org" "/home/henri/Documents/zettelkasten/org-roam/20240201132007-rpi_k3s_cluster.org" "/home/henri/Documents/zettelkasten/org-roam/20240328185905-db_mariadb.org" "/home/henri/Documents/zettelkasten/org-roam/20240409213406-mandarin_corner_drinking_culture.org" "/home/henri/Documents/zettelkasten/org-roam/20240415080027-programming_go.org" "/home/henri/Documents/zettelkasten/org-roam/20240419141132-programming_bash.org" "/home/henri/Documents/zettelkasten/org-roam/20240423204241-mandarin_corner_white_skin.org" "/home/henri/Documents/zettelkasten/org-roam/20240423204705-mandarin_corner_walk_around_a_fishing_village.org" "/home/henri/Documents/zettelkasten/org-roam/20240423204946-mandarin_corner_lying_flat.org" "/home/henri/Documents/zettelkasten/org-roam/20240424144809-programming_github_actions_workflows.org" "/home/henri/Documents/zettelkasten/org-roam/20240425140202-programming_docker.org" "/home/henri/Documents/zettelkasten/org-roam/20240427172817-programming_nextjs.org" "/home/henri/Documents/zettelkasten/org-roam/20240429195948-mandarin_corner_work_cultural_aspects.org" "/home/henri/Documents/zettelkasten/org-roam/20240513203801-mandarin_corner_chinese_men_so_feminine.org" "/home/henri/Documents/zettelkasten/org-roam/20240624213227-hsk_4_part_1.org" "/home/henri/Documents/zettelkasten/org-roam/20240702185623-programming_sops.org" "/home/henri/Documents/zettelkasten/org-roam/20240722213733-chinese_summer_2024_review.org" "/home/henri/Documents/zettelkasten/org-roam/20240723210041-mandarin_corner_leftover_men.org" "/home/henri/Documents/zettelkasten/org-roam/20240731212533-mandarin_corner_why_girls_mei_you_jie_hun.org" "/home/henri/Documents/zettelkasten/org-roam/20240827191742-emacs.org" "/home/henri/Documents/zettelkasten/org-roam/20240828204250-knowlege_base.org" "/home/henri/Documents/zettelkasten/org-roam/20240830214805-zsa_moonlander.org" "/home/henri/Documents/zettelkasten/org-roam/20240901150838-programming_nix.org" "/home/henri/Documents/zettelkasten/org-roam/20240905210105-chinese_class_wrap_up_and_learn.org" "/home/henri/Documents/zettelkasten/org-roam/20240924205652-cert_ckad.org" "/home/henri/Documents/zettelkasten/org-roam/20240924213459-mastery.org" "/home/henri/Documents/zettelkasten/org-roam/20240930100436-maintenance_home.org" "/home/henri/Documents/zettelkasten/org-roam/20241002120519-work_house_operto.org"))
'(package-selected-packages
'(nix-ts-mode company-php ac-php-core xcscope company-phpactor drupal-mode geben php-auto-yasnippets php-extras php-mode phpactor composer php-runtime phpunit ob-typescript nginx-mode pdf-view-restore pdf-tools company-auctex company-math company-reftex evil-tex auctex lsp-latex consult math-symbol-lists omnisharp csharp-mode auto-complete sops sqlup-mode sql-indent copilot ace-pinyin chinese-conv fcitx find-by-pinyin-dired pinyinlib pangu-spacing pyim xr pyim-basedict flycheck-kotlin kotlin-mode groovy-imports groovy-mode lsp-java maven-test-mode mvn keychain-environment bundler chruby minitest rake rbenv robe inf-ruby rspec-mode rubocop rubocopfmt ruby-hash-syntax ruby-refactor ruby-test-mode ruby-tools rvm seeing-is-believing xkcd shrink-path nerd-icons spaceline-all-the-icons memoize ibuffer-projectile helm-spotify-plus multi spotify erc-hl-nicks erc-image erc-social-graph erc-view-log erc-yt company-nixos-options helm-nixos-options nix-mode nixos-options company-tabnine js-react-redux-yasnippets company-statistics color-identifiers-mode rainbow-identifiers rainbow-mode company-web web-completion-data helm-css-scss impatient-mode pug-mode sass-mode haml-mode scss-mode slim-mode tagedit web-mode toggle-term ligature unicode-fonts ucs-utils font-utils persistent-soft pcache dap-mode lsp-docker bui lsp-tailwindcss zonokai-emacs zenburn-theme zen-and-art-theme yasnippet-snippets yapfify yaml-mode xterm-color ws-butler writeroom-mode winum white-sand-theme which-key web-beautify volatile-highlights vim-powerline vi-tilde-fringe uuidgen unfill undo-tree underwater-theme ujelly-theme typescript-mode twilight-theme twilight-bright-theme twilight-anti-bright-theme treemacs-projectile treemacs-persp treemacs-magit treemacs-icons-dired treemacs-evil treemacs-all-the-icons toxi-theme toml-mode toc-org texfrag terminal-here term-cursor tao-theme tangotango-theme tango-plus-theme tango-2-theme symon symbol-overlay sunny-day-theme sublime-themes subatomic256-theme subatomic-theme string-inflection string-edit-at-point sqlite3 sphinx-doc spacemacs-whitespace-cleanup spacemacs-purpose-popwin spaceline spacegray-theme space-doc soothe-theme solarized-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme smeargle shell-pop seti-theme rjsx-mode reverse-theme restart-emacs rebecca-theme rainbow-delimiters railscasts-theme quickrun pytest pylookup pyenv-mode pydoc py-isort purple-haze-theme professional-theme prettier-js popwin poetry planet-theme pippel pipenv pip-requirements phoenix-dark-pink-theme phoenix-dark-mono-theme pcre2el password-generator paradox overseer orgit-forge organic-green-theme org-superstar org-roam-ui org-rich-yank org-projectile org-present org-pomodoro org-mime org-download org-contrib org-cliplink open-junk-file omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme npm-mode nose nodejs-repl noctilux-theme naquadah-theme nameless mwim mustang-theme multi-vterm multi-term multi-line monokai-theme monochrome-theme molokai-theme moe-theme modus-themes minimal-theme material-theme markdown-toc majapahit-themes madhat2r-theme macrostep lush-theme lsp-ui lsp-treemacs lsp-pyright lsp-origami lorem-ipsum livid-mode live-py-mode link-hint light-soap-theme kubernetes-evil kaolin-themes json-reformat json-navigator json-mode js2-refactor js-doc jbeans-theme jazz-theme ir-black-theme inspector inkpot-theme info+ indent-guide importmagic hybrid-mode hungry-delete htmlize holy-mode hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt heroku-theme hemisu-theme helm-xref helm-themes helm-swoop helm-pydoc helm-purpose helm-projectile helm-org-rifle helm-org helm-mode-manager helm-make helm-lsp helm-ls-git helm-git-grep helm-descbinds helm-company helm-comint helm-c-yasnippet helm-ag hc-zenburn-theme gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme google-translate golden-ratio godoctor go-tag go-rename go-impl go-guru go-gen-test go-fill-struct go-eldoc gnuplot gitignore-templates git-timemachine git-modes git-messenger git-link gh-md gandalf-theme flyspell-popup flyspell-correct-helm flycheck-pos-tip flycheck-package flycheck-golangci-lint flycheck-elsa flx-ido flatui-theme flatland-theme farmhouse-themes fancy-battery eziam-themes eyebrowse expand-region exotica-theme exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-textobj-line evil-surround evil-org evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-evilified-state evil-escape evil-easymotion evil-collection evil-cleverparens evil-args evil-anzu eval-sexp-fu espresso-theme eshell-z eshell-prompt-extras esh-help emr emojify emoji-cheat-sheet-plus emmet-mode elisp-slime-nav elisp-def editorconfig eat dumb-jump drag-stuff dracula-theme dotenv-mode doom-themes doom-modeline dockerfile-mode docker django-theme dired-quick-sort diminish diff-hl devdocs define-word darktooth-theme darkokai-theme darkmine-theme dakrone-theme cython-mode cyberpunk-theme company-terraform company-go company-emoji company-anaconda column-enforce-mode color-theme-sanityinc-tomorrow color-theme-sanityinc-solarized code-cells clues-theme clean-aindent-mode chocolate-theme cherry-blossom-theme centered-cursor-mode catppuccin-theme busybee-theme bubbleberry-theme browse-at-remote blacken birds-of-paradise-plus-theme badwolf-theme auto-yasnippet auto-highlight-symbol auto-dictionary auto-compile apropospriate-theme anti-zenburn-theme ample-zen-theme ample-theme alect-themes aggressive-indent afternoon-theme add-node-modules-path ace-link ace-jump-helm-line)))
'(fic-mode company-auctex company-math company-reftex evil-tex auctex lsp-latex consult lsp-tailwindcss math-symbol-lists pomm toml-mode docker aio dockerfile-mode ob-typescript web-mode nix-ts-mode blacken code-cells company-anaconda anaconda-mode cython-mode dap-mode lsp-docker bui helm-pydoc importmagic epc ctable concurrent live-py-mode lsp-pyright pip-requirements pipenv load-env-vars pippel poetry py-isort pydoc pyenv-mode pythonic pylookup pytest pyvenv sphinx-doc yapfify company-shell fish-mode flycheck-bashate insert-shebang shfmt reformatter exec-path-from-shell yaml-mode doom-modeline shrink-path nerd-icons treemacs-all-the-icons add-node-modules-path auto-dictionary auto-yasnippet browse-at-remote catppuccin-theme code-review emojify deferred a color-identifiers-mode company-nixos-options diff-hl doom-themes eat esh-help eshell-prompt-extras eshell-z evil-org flycheck-pos-tip pos-tip flyspell-correct-helm flyspell-correct flyspell-popup git-link git-messenger git-modes git-timemachine gitignore-templates gnuplot helm-c-yasnippet helm-company helm-git-grep helm-ls-git helm-lsp helm-nixos-options helm-org-rifle htmlize js-doc js2-refactor multiple-cursors json-mode json-navigator json-reformat json-snatcher ligature livid-mode lsp-origami origami lsp-treemacs lsp-ui lsp-mode multi-term multi-vterm xref nix-mode nixos-options nodejs-repl npm-mode nyan-mode org-cliplink org-contrib org-download org-mime org-pomodoro alert log4e gntp org-present org-projectile org-project-capture org-category-capture org-rich-yank org-roam-ui websocket org-roam orgit-forge orgit forge yaml ghub closql emacsql treepy org prettier-js rainbow-identifiers rainbow-mode shell-pop skewer-mode js2-mode simple-httpd smeargle sops sqlite3 terminal-here treemacs-magit magit with-editor transient magit-section typescript-mode unicode-fonts ucs-utils font-utils persistent-soft pcache vterm web-beautify xkcd yasnippet-snippets yasnippet company-emoji company emoji-cheat-sheet-plus gh-md markdown-toc markdown-mode valign vmd-mode ws-butler writeroom-mode winum which-key vundo volatile-highlights vim-powerline vi-tilde-fringe uuidgen undo-fu-session undo-fu treemacs-projectile treemacs-persp treemacs-icons-dired treemacs-evil toc-org term-cursor symon symbol-overlay string-inflection string-edit-at-point spacemacs-whitespace-cleanup spacemacs-purpose-popwin spaceline space-doc restart-emacs request rainbow-delimiters quickrun popwin pcre2el password-generator paradox overseer org-superstar open-junk-file nameless multi-line macrostep lorem-ipsum link-hint inspector info+ indent-guide hybrid-mode hungry-delete holy-mode hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt helm-xref helm-themes helm-swoop helm-purpose helm-projectile helm-org helm-mode-manager helm-make helm-descbinds helm-comint helm-ag google-translate golden-ratio flycheck-package flycheck-elsa flx-ido fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-textobj-line evil-surround evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state evil-lion evil-indent-plus evil-iedit-state evil-goggles evil-exchange evil-evilified-state evil-escape evil-easymotion evil-collection evil-cleverparens evil-args evil-anzu eval-sexp-fu emr elisp-slime-nav elisp-demos elisp-def editorconfig dumb-jump drag-stuff dotenv-mode disable-mouse dired-quick-sort diminish devdocs define-word column-enforce-mode clean-aindent-mode centered-cursor-mode auto-highlight-symbol auto-compile all-the-icons aggressive-indent ace-link ace-jump-helm-line)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:background nil))))
'(company-tooltip-common ((t (:inherit company-tooltip :weight bold :underline nil))))
'(company-tooltip-common-selection ((t (:inherit company-tooltip-selection :weight bold :underline nil))))
'(treemacs-hl-line-face ((t (:background "#e64553")))))
)
Loading