From 304206bc10f3876e12fb65f5bff584c6a820231c Mon Sep 17 00:00:00 2001 From: earnest ma Date: Fri, 4 Nov 2022 17:12:15 -0400 Subject: [PATCH] doom: Updates --- doom/.config/doom/+ui.el | 4 ++++ doom/.config/doom/init.el | 1 + doom/.config/doom/modules/tools/just/config.el | 7 +++++++ doom/.config/doom/modules/tools/just/packages.el | 5 +++++ doom/.config/doom/snippets/latex-mode/rightarrow | 7 +++++++ 5 files changed, 24 insertions(+) create mode 100644 doom/.config/doom/modules/tools/just/config.el create mode 100644 doom/.config/doom/modules/tools/just/packages.el create mode 100644 doom/.config/doom/snippets/latex-mode/rightarrow diff --git a/doom/.config/doom/+ui.el b/doom/.config/doom/+ui.el index 3b4542d..1c50769 100644 --- a/doom/.config/doom/+ui.el +++ b/doom/.config/doom/+ui.el @@ -35,6 +35,10 @@ when this is not the case" (after! doom-modeline (setq doom-modeline-persp-name t)) +;; pdf-tools +;; Always use midnight view with pdf-tools +(add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode) + ;; Also from Tecosaur's config (modified slightly): better window title (setq frame-title-format '("" diff --git a/doom/.config/doom/init.el b/doom/.config/doom/init.el index cf6872a..ae50bd9 100644 --- a/doom/.config/doom/init.el +++ b/doom/.config/doom/init.el @@ -94,6 +94,7 @@ ;;ein ; tame Jupyter notebooks with emacs (eval +overlay) ; run code, run (also, repls) ;;gist ; interacting with github gists + just lookup ; navigate your code and its documentation (lsp +peek) ; M-x vscode magit ; a git porcelain for Emacs diff --git a/doom/.config/doom/modules/tools/just/config.el b/doom/.config/doom/modules/tools/just/config.el new file mode 100644 index 0000000..eb02f77 --- /dev/null +++ b/doom/.config/doom/modules/tools/just/config.el @@ -0,0 +1,7 @@ +;;; tools/just/config.el -*- lexical-binding: t; -*- + +(use-package! just-mode) + +(use-package! justl + :config + (map! :n "e" 'justl-exec-recipe)) diff --git a/doom/.config/doom/modules/tools/just/packages.el b/doom/.config/doom/modules/tools/just/packages.el new file mode 100644 index 0000000..cf50fac --- /dev/null +++ b/doom/.config/doom/modules/tools/just/packages.el @@ -0,0 +1,5 @@ +;; -*- no-byte-compile: t; -*- +;;; tools/just/packages.el + +(package! just-mode :pin "35f1bd4748cd3e960e6930b34310e5506212b304") +(package! justl :pin "4dc372cb416912c795ae1fca62081d5aea0b2703") diff --git a/doom/.config/doom/snippets/latex-mode/rightarrow b/doom/.config/doom/snippets/latex-mode/rightarrow new file mode 100644 index 0000000..dd8f0c3 --- /dev/null +++ b/doom/.config/doom/snippets/latex-mode/rightarrow @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: "rightarrow" +# uuid: +# key: rarr +# condition: t +# -- +\rightarrow \ No newline at end of file