Update doom config
This commit is contained in:
parent
822ac13526
commit
10e9d8a463
3 changed files with 19 additions and 8 deletions
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
;; Some functionality uses this to identify you, e.g. GPG configuration, email
|
;; Some functionality uses this to identify you, e.g. GPG configuration, email
|
||||||
;; clients, file templates and snippets. It is optional.
|
;; clients, file templates and snippets. It is optional.
|
||||||
(setq user-full-name "Devon Tingley"
|
(setq user-full-name "Roman Godmaire"
|
||||||
user-mail-address "dtingley@twilit.com")
|
user-mail-address "godmaire@twilit.com")
|
||||||
|
|
||||||
;; Doom exposes five (optional) variables for controlling fonts in Doom:
|
;; Doom exposes five (optional) variables for controlling fonts in Doom:
|
||||||
;;
|
;;
|
||||||
|
@ -42,7 +42,6 @@
|
||||||
;; If you use `org' and don't want your org files in the default location below,
|
;; If you use `org' and don't want your org files in the default location below,
|
||||||
;; change `org-directory'. It must be set before org loads!
|
;; change `org-directory'. It must be set before org loads!
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
(add-hook! 'elfeed-search-mode-hook #'elfeed-update)
|
|
||||||
|
|
||||||
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
||||||
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
|
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
|
||||||
|
@ -75,6 +74,11 @@
|
||||||
;;
|
;;
|
||||||
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||||
;; they are implemented.
|
;; they are implemented.
|
||||||
|
|
||||||
|
;; Elfeed
|
||||||
|
(add-hook! 'elfeed-search-mode-hook #'elfeed-update)
|
||||||
|
|
||||||
|
;; Latex config
|
||||||
(add-hook 'LaTeX-mode-hook
|
(add-hook 'LaTeX-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(setq TeX-command-default "Tectonic")))
|
(setq TeX-command-default "Tectonic")))
|
||||||
|
@ -83,8 +87,18 @@
|
||||||
(add-to-list 'TeX-command-list
|
(add-to-list 'TeX-command-list
|
||||||
'("Tectonic" "tectonic %s.tex" TeX-run-command nil t)))
|
'("Tectonic" "tectonic %s.tex" TeX-run-command nil t)))
|
||||||
|
|
||||||
|
;; Web-Mode LSP Config
|
||||||
(setq-hook! 'web-mode-hook +format-with-lsp nil)
|
(setq-hook! 'web-mode-hook +format-with-lsp nil)
|
||||||
|
|
||||||
|
;; Dired config
|
||||||
|
(add-hook 'dired-after-readin-hook 'dired-git-info-auto-enable)
|
||||||
|
|
||||||
|
;; Zen config
|
||||||
|
(add-hook 'writeroom-mode-enable-hook
|
||||||
|
(lambda () (display-line-numbers-mode -1)))
|
||||||
|
(add-hook 'writeroom-mode-disable-hook
|
||||||
|
(lambda () (display-line-numbers-mode)))
|
||||||
|
|
||||||
;; dap-mode config
|
;; dap-mode config
|
||||||
(after! dap-mode
|
(after! dap-mode
|
||||||
;; Golang
|
;; Golang
|
||||||
|
|
|
@ -163,7 +163,6 @@
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
(python
|
(python
|
||||||
+lsp
|
+lsp
|
||||||
+poetry
|
|
||||||
+pyright) ; beautiful is better than ugly
|
+pyright) ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
|
|
|
@ -5,13 +5,11 @@ set -x DOOMDIR $HOME/.config/doom
|
||||||
fish_add_path ~/.cargo/bin
|
fish_add_path ~/.cargo/bin
|
||||||
fish_add_path ~/.yarn/bin
|
fish_add_path ~/.yarn/bin
|
||||||
|
|
||||||
if [ $hostname = Arcadia-III ]
|
if type -q rtx
|
||||||
set -x GDK_SCALE 2
|
rtx activate fish | source
|
||||||
set -x GDK_DPI_SCALE 0.5
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
rtx activate fish | source
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue