From 48aa296a0625562250b984548701f7e979349dcd Mon Sep 17 00:00:00 2001 From: Devon Tingley Date: Tue, 20 Dec 2022 08:34:17 -0500 Subject: [PATCH] Update DOOMDIR --- doom/config.el | 12 +++++++++++- doom/init.el | 12 ++++++------ doom/packages.el | 2 +- fish/config.fish | 3 ++- i3/config | 3 +++ 5 files changed, 23 insertions(+), 9 deletions(-) diff --git a/doom/config.el b/doom/config.el index edfd0bb..6433577 100644 --- a/doom/config.el +++ b/doom/config.el @@ -70,8 +70,18 @@ ;; To get information about any of these functions/macros, move the cursor over ;; the highlighted symbol at press 'K' (non-evil users must press 'C-c c k'). ;; This will open documentation for it, including demos of how they are used. -;; Alternatively, use `C-h o' to look up a symbol (functions, variables, faces, +;; Alternatively, use `C-h o' to look up a symbol (functions, variables, facs, ;; etc). ;; ;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how ;; they are implemented. +(add-hook 'LaTeX-mode-hook + (lambda () + (setq TeX-command-default "Tectonic"))) + +(after! (latex tex) + (add-to-list 'TeX-command-list + '("Tectonic" "tectonic %s.tex" TeX-run-command nil t))) + +(after! (lsp-volar) +(setq lsp-typescript-tsdk (file-name-directory (lsp-volar-get-typescript-server-path)))) diff --git a/doom/init.el b/doom/init.el index f7257be..ce3986a 100644 --- a/doom/init.el +++ b/doom/init.el @@ -50,7 +50,7 @@ vi-tilde-fringe ; fringe tildes to mark beyond EOB ;;window-select ; visually switch windows workspaces ; tab emulation, persistence & separate workspaces - ;;zen ; distraction-free coding or writing + zen ; distraction-free coding or writing :editor (evil +everywhere); come to the dark side, we have cookies @@ -95,11 +95,11 @@ (eval +overlay) ; run code, run (also, repls) ;;gist ; interacting with github gists lookup ; navigate your code and its documentation - (lsp +eglot +peek) ; M-x vscode + (lsp +peek) ; M-x vscode magit ; a git porcelain for Emacs make ; run make tasks from Emacs ;;pass ; password manager for nerds - ;;pdf ; pdf enhancements + pdf ; pdf enhancements ;;prodigy ; FIXME managing external services & code builders ;;rgb ; creating color strings ;;taskrunner ; taskrunner for all your projects @@ -142,10 +142,10 @@ ;;idris ; a language you can depend on json ; At least it ain't XML ;;(java +lsp) ; the poster child for carpal tunnel syndrome - javascript ; all(hope(abandon(ye(who(enter(here)))))) + (javascript +lsp) ; all(hope(abandon(ye(who(enter(here)))))) ;;julia ; a better, faster MATLAB ;;kotlin ; a better, slicker Java(Script) - ;;latex ; writing papers in Emacs has never been so fun + latex ; writing papers in Emacs has never been so fun ;;lean ; for folks with too much to prove ;;ledger ; be audit you can be lua ; one-based indices? one-based indices @@ -172,7 +172,7 @@ ;;solidity ; do you need a blockchain? No. ;;swift ; who asked for emoji variables? ;;terra ; Earth and Moon in alignment for performance. - ;;web ; the tubes + (web +lsp) ; the tubes yaml ; JSON, but readable ;;zig ; C, but simpler diff --git a/doom/packages.el b/doom/packages.el index 839b83c..fb80c92 100644 --- a/doom/packages.el +++ b/doom/packages.el @@ -7,7 +7,7 @@ ;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror: -;(package! some-package) +(package! just-mode) ;; To install a package directly from a remote git repo, you must specify a ;; `:recipe'. You'll find documentation on what `:recipe' accepts here: diff --git a/fish/config.fish b/fish/config.fish index 5e0f375..71fc049 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -1,10 +1,11 @@ set -x CHROME_EXECUTABLE /usr/bin/chromium set -x EDITOR /usr/bin/nvim +set -x DOOMDIR $HOME/.config/doom fish_add_path ~/.cargo/bin fish_add_path ~/.yarn/bin -if [ $hostname = "Arcadia-III" ] +if [ $hostname = Arcadia-III ] set -x GDK_SCALE 2 set -x GDK_DPI_SCALE 0.5 end diff --git a/i3/config b/i3/config index a5a9011..d19b207 100644 --- a/i3/config +++ b/i3/config @@ -28,6 +28,9 @@ floating_modifier $mod bindsym $mod+Return exec alacritty bindsym Control+Mod1+t exec alacritty +# open emacs +bindsym $mod+Shift+Return exec emacs + # kill focused window bindsym $mod+Shift+q kill