Compare commits
5 commits
0c97ad665c
...
dd5d4ea7ec
Author | SHA1 | Date | |
---|---|---|---|
Evie Litherland-Smith | dd5d4ea7ec | ||
Evie Litherland-Smith | 6f07040cfb | ||
Evie Litherland-Smith | cd6bce2677 | ||
Evie Litherland-Smith | 34056bb71b | ||
Evie Litherland-Smith | 9aa62a2dbf |
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -74,3 +74,10 @@ flycheck_*.el
|
|||
/games/
|
||||
/calc.el
|
||||
/README.el
|
||||
|
||||
# straight.el
|
||||
/straight/build-cache.el
|
||||
/straight/build/
|
||||
/straight/modified/
|
||||
/straight/repos/*
|
||||
!/straight/repos/straight.el
|
||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "straight.el"]
|
||||
path = straight/repos/straight.el
|
||||
url = https://github.com/radian-software/straight.el.git
|
243
README.org
243
README.org
|
@ -2,27 +2,25 @@
|
|||
#+author: Evie Litherland-Smith
|
||||
#+email: evie@xenia.me.uk
|
||||
#+filetags: :emacs:config:org:
|
||||
Personal Emacs configuration. Clone to =~/.config/emacs/= (or
|
||||
=~/.emacs.d/=) and install specified plugins.
|
||||
Personal Emacs configuration. Clone to =~/.emacs.d/= and install
|
||||
specified plugins.
|
||||
* Config
|
||||
** Package management
|
||||
Customise =use-package= before first time it's used.
|
||||
Load [[https://github.com/radian-software/straight.el][straight.el]] functional package manager. Code stored in
|
||||
[[file:straight/repos/straight.el/]] as a submodule, rather than using the
|
||||
bootstrap script, for better reproducibility. Configure integration
|
||||
with =use-package= and enable package installation with =straight.el= by
|
||||
default.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setopt use-package-check-before-init t
|
||||
use-package-enable-imenu-support t)
|
||||
#+end_src
|
||||
(defvar bootstrap-version)
|
||||
(let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
|
||||
(bootstrap-version 5))
|
||||
(when (file-exists-p bootstrap-file)
|
||||
(load bootstrap-file nil 'nomessage)))
|
||||
|
||||
Configure package archives and initialise.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package package
|
||||
:config
|
||||
(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/"))
|
||||
(package-initialize))
|
||||
|
||||
;; Plugins that still need adding / configuring: `auctex' `htmlize'
|
||||
;; `password-store'
|
||||
(require 'straight)
|
||||
(straight-use-package 'use-package)
|
||||
#+end_src
|
||||
** Defaults
|
||||
Set some useful defaults. Some of these should be moved to relevant
|
||||
|
@ -40,11 +38,13 @@ section of configuration.
|
|||
(delete-selection-mode +1)
|
||||
#+end_src
|
||||
|
||||
Filter warning messages from causing popups. Keep in log, but only
|
||||
show for error or emergency.
|
||||
Suppress compilation warnings since they're /usually/ just about
|
||||
docstring sizes...
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setq warning-minimum-level :error)
|
||||
(require 'warnings)
|
||||
(add-to-list 'warning-suppress-types '(comp))
|
||||
(add-to-list 'warning-suppress-log-types '(comp))
|
||||
#+end_src
|
||||
|
||||
Bind mouse keys to expected movement commands
|
||||
|
@ -74,9 +74,8 @@ Configure the look and feel of Emacs
|
|||
#+end_src
|
||||
*** Theme and Icons
|
||||
#+begin_src emacs-lisp
|
||||
(add-to-list 'package-selected-packages 'base16-theme)
|
||||
(use-package base16-theme
|
||||
:if (package-installed-p 'base16-theme)
|
||||
:straight t
|
||||
:defines (base16-one-light-theme-colors)
|
||||
:custom
|
||||
(base16-theme-distinct-fringe-background nil)
|
||||
|
@ -107,37 +106,26 @@ Configure the look and feel of Emacs
|
|||
(add-hook 'server-after-make-frame-hook
|
||||
(lambda () (when (display-graphic-p) (my/load-theme-and-configure))))
|
||||
|
||||
(add-to-list 'package-selected-packages 'all-the-icons)
|
||||
(add-to-list 'package-selected-packages 'all-the-icons-dired)
|
||||
(add-to-list 'package-selected-packages 'all-the-icons-ibuffer)
|
||||
(add-to-list 'package-selected-packages 'all-the-icons-completion)
|
||||
|
||||
(use-package all-the-icons
|
||||
:if (package-installed-p 'all-the-icons))
|
||||
|
||||
(use-package all-the-icons-dired
|
||||
:if (package-installed-p 'all-the-icons-dired)
|
||||
:after all-the-icons
|
||||
:hook (dired-mode))
|
||||
|
||||
(use-package all-the-icons-ibuffer
|
||||
:if (package-installed-p 'all-the-icons-ibuffer)
|
||||
:after all-the-icons
|
||||
:hook (ibuffer-mode))
|
||||
|
||||
(use-package all-the-icons-completion
|
||||
:if (package-installed-p 'all-the-icons-completion)
|
||||
:after (all-the-icons marginalia-mode)
|
||||
:hook (marginalia-mode . all-the-icons-completion-marginalia-setup))
|
||||
|
||||
(add-to-list 'package-selected-packages 'nerd-icons)
|
||||
(add-to-list 'package-selected-packages 'nerd-icons-corfu)
|
||||
|
||||
(use-package nerd-icons
|
||||
:if (package-installed-p 'nerd-icons))
|
||||
:straight t)
|
||||
|
||||
(use-package nerd-icons-dired
|
||||
:straight t
|
||||
:after (nerd-icons dired)
|
||||
:hook (dired-mode . nerd-icons-dired-mode))
|
||||
|
||||
(use-package nerd-icons-ibuffer
|
||||
:straight t
|
||||
:after (nerd-icons ibuffer)
|
||||
:hook (ibuffer-mode . nerd-icons-ibuffer-mode))
|
||||
|
||||
(use-package nerd-icons-completion
|
||||
:straight t
|
||||
:after (nerd-icons marginalia)
|
||||
:hook (marginalia-mode . nerd-icons-completion-marginalia-setup))
|
||||
|
||||
(use-package nerd-icons-corfu
|
||||
:if (package-installed-p 'nerd-icons-corfu)
|
||||
:straight t
|
||||
:after nerd-icons)
|
||||
#+end_src
|
||||
*** Modeline
|
||||
|
@ -147,9 +135,8 @@ Configure the look and feel of Emacs
|
|||
(size-indication-mode +1)
|
||||
(which-function-mode -1)
|
||||
|
||||
(add-to-list 'package-selected-packages 'doom-modeline)
|
||||
(use-package doom-modeline
|
||||
:if (package-installed-p 'doom-modeline)
|
||||
:straight t
|
||||
:functions (doom-modeline-mode)
|
||||
:hook (after-init . (lambda () (doom-modeline-mode +1)))
|
||||
:custom
|
||||
|
@ -182,10 +169,9 @@ Configure the look and feel of Emacs
|
|||
*** Font ligatures
|
||||
#+begin_src emacs-lisp
|
||||
(use-package ligature
|
||||
:if (package-installed-p 'ligature)
|
||||
:disabled t
|
||||
:functions (ligature-set-ligatures
|
||||
global-ligature-mode)
|
||||
:straight t
|
||||
:functions (ligature-set-ligatures global-ligature-mode)
|
||||
:hook (after-init . (lambda () (global-ligature-mode +1)))
|
||||
:config
|
||||
(ligature-set-ligatures
|
||||
'(text-mode prog-mode org-mode)
|
||||
|
@ -194,8 +180,7 @@ Configure the look and feel of Emacs
|
|||
"<->" "<-->" "<--->" "<---->"
|
||||
"<=>" "<==>" "<===>" "<====>"
|
||||
"<=" ">=" "==" "!=" "===" "!==" "!==="
|
||||
"/*" "*/" "+++" "<~~" "~~>" "<!---" "---!>"))
|
||||
(global-ligature-mode +1))
|
||||
"/*" "*/" "+++" "<~~" "~~>" "<!---" "---!>")))
|
||||
#+end_src
|
||||
*** Font Showcase
|
||||
This is a showcase of various font and UI features to act as a
|
||||
|
@ -699,9 +684,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
:custom
|
||||
(flyspell-use-meta-tab nil))
|
||||
|
||||
(add-to-list 'package-selected-packages 'flyspell-correct)
|
||||
(use-package flyspell-correct
|
||||
:if (package-installed-p 'flyspell-correct)
|
||||
:straight t
|
||||
:after flyspell
|
||||
:bind ( :map flyspell-mode-map
|
||||
("C-;" . flyspell-correct-wrapper)))
|
||||
|
@ -732,9 +716,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
|
||||
(add-hook 'prog-mode-hook #'(lambda () (display-line-numbers-mode +1)))
|
||||
|
||||
(add-to-list 'package-selected-packages 'which-key)
|
||||
(use-package which-key
|
||||
:if (package-installed-p 'which-key)
|
||||
:straight t
|
||||
:functions which-key-mode
|
||||
:config (which-key-mode +1))
|
||||
|
||||
|
@ -762,9 +745,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
cleanup
|
||||
auto-cleanup)))
|
||||
|
||||
(add-to-list 'package-selected-packages 'diff-hl)
|
||||
(use-package diff-hl
|
||||
:if (package-installed-p 'diff-hl)
|
||||
:straight t
|
||||
:functions (diff-hl-magit-pre-refresh
|
||||
diff-hl-magit-post-refresh
|
||||
global-diff-hl-mode)
|
||||
|
@ -790,9 +772,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
:custom
|
||||
(ediff-window-setup-function #'ediff-setup-windows-plain))
|
||||
|
||||
(add-to-list 'package-selected-packages 'emms)
|
||||
(use-package emms
|
||||
:if (package-installed-p 'emms)
|
||||
:straight t
|
||||
:defines (emms-browser-mode-map
|
||||
emms-playlist-mode-map)
|
||||
:functions (emms-all
|
||||
|
@ -831,7 +812,7 @@ Configure email with iCalendar event support, to integrate with
|
|||
(add-hook 'emms-player-started-hook #'emms-show))
|
||||
|
||||
(use-package org
|
||||
:demand
|
||||
:straight (:type built-in)
|
||||
:defines org-mode-map
|
||||
:hook ((org-mode . turn-on-auto-fill))
|
||||
:bind ( :map org-mode-map
|
||||
|
@ -885,7 +866,7 @@ Configure email with iCalendar event support, to integrate with
|
|||
|
||||
(use-package org-indent
|
||||
:after org
|
||||
:hook org-mode)
|
||||
:hook (org-mode . org-indent-mode))
|
||||
|
||||
(use-package org-attach
|
||||
:after org
|
||||
|
@ -939,9 +920,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
|
||||
(when (or (package-installed-p 'emacsql-sqlite)
|
||||
(package-installed-p 'emacsql-sqlite-builtin))
|
||||
(add-to-list 'package-selected-packages 'org-roam)
|
||||
(use-package org-roam
|
||||
:if (package-installed-p 'org-roam)
|
||||
:straight t
|
||||
:after org
|
||||
:defines org-roam-directory
|
||||
:functions org-roam-db-autosync-mode
|
||||
|
@ -1031,7 +1011,7 @@ Configure email with iCalendar event support, to integrate with
|
|||
(org-icalendar-combined-description "Emacs org-mode combined export"))
|
||||
|
||||
(use-package org-noter
|
||||
:if (package-installed-p 'org-noter)
|
||||
:straight t
|
||||
:disabled t
|
||||
:after (org doc-view citar)
|
||||
:commands org-noter
|
||||
|
@ -1046,9 +1026,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
(car citar-notes-paths)))
|
||||
(org-noter-prefer-root-as-file-level nil))
|
||||
|
||||
(add-to-list 'package-selected-packages 'citar)
|
||||
(use-package citar
|
||||
:if (package-installed-p 'citar)
|
||||
:straight t
|
||||
:defines (citar-bibliography
|
||||
citar-indicators)
|
||||
:functions (citar-indicator-create
|
||||
|
@ -1056,9 +1035,7 @@ Configure email with iCalendar event support, to integrate with
|
|||
citar-has-links
|
||||
citar-has-notes
|
||||
citar-is-cited)
|
||||
:hook
|
||||
(LaTeX-mode . citar-capf-setup)
|
||||
(org-mode . citar-capf-setup)
|
||||
:hook ((org-mode LaTeX-mode) . citar-capf-setup)
|
||||
:custom
|
||||
(citar-bibliography
|
||||
(list
|
||||
|
@ -1071,7 +1048,7 @@ Configure email with iCalendar event support, to integrate with
|
|||
(expand-file-name "~/Documents/library/")))
|
||||
:config
|
||||
(require 'org)
|
||||
(require 'all-the-icons)
|
||||
(require 'nerd-icons)
|
||||
(setopt org-cite-insert-processor 'citar
|
||||
org-cite-follow-processor 'citar
|
||||
org-cite-activate-processor 'citar)
|
||||
|
@ -1079,25 +1056,36 @@ Configure email with iCalendar event support, to integrate with
|
|||
(add-to-list 'org-cite-global-bibliography bibfile))
|
||||
(defvar citar-indicator-files-icons
|
||||
(citar-indicator-create
|
||||
:symbol (all-the-icons-octicon "file-pdf")
|
||||
:symbol (nerd-icons-octicon
|
||||
"nf-oct-file"
|
||||
:face 'nerd-icons-green
|
||||
:v-adjust -0.1)
|
||||
:function #'citar-has-files
|
||||
:padding " " ; need this because the default padding is too low for these icons
|
||||
:tag "has:files"))
|
||||
(defvar citar-indicator-links-icons
|
||||
(citar-indicator-create
|
||||
:symbol (all-the-icons-octicon "link")
|
||||
:symbol (nerd-icons-octicon
|
||||
"nf-oct-link"
|
||||
:face 'nerd-icons-orange
|
||||
:v-adjust 0.01)
|
||||
:function #'citar-has-links
|
||||
:padding " " ; need this because the default padding is too low for these icons
|
||||
:tag "has:links"))
|
||||
(defvar citar-indicator-notes-icons
|
||||
(citar-indicator-create
|
||||
:symbol (all-the-icons-octicon "file-text")
|
||||
:symbol (nerd-icons-octicon
|
||||
"nf-oct-note"
|
||||
:face 'nerd-icons-blue
|
||||
:v-adjust -0.3)
|
||||
:function #'citar-has-notes
|
||||
:padding " " ; need this because the default padding is too low for these icons
|
||||
:tag "has:notes"))
|
||||
(defvar citar-indicator-cited-icons
|
||||
(citar-indicator-create
|
||||
:symbol (all-the-icons-octicon "file-binary")
|
||||
:symbol (nerd-icons-octicon
|
||||
"nf-oct-circle"
|
||||
:face 'nerd-icon-green)
|
||||
:function #'citar-is-cited
|
||||
:padding " " ; need this because the default padding is too low for these icons
|
||||
:tag "is:cited"))
|
||||
|
@ -1109,19 +1097,15 @@ Configure email with iCalendar event support, to integrate with
|
|||
(setq org-latex-compiler "lualatex")
|
||||
(setq org-preview-latex-default-process 'dvisvgm)
|
||||
|
||||
(add-to-list 'package-selected-packages 'vertico)
|
||||
(use-package vertico
|
||||
:if (package-installed-p 'vertico)
|
||||
:straight t
|
||||
:functions vertico-mode
|
||||
:hook (after-init . (lambda () (vertico-mode +1)))
|
||||
:custom
|
||||
(vertico-cycle t)
|
||||
:config
|
||||
(require 'vertico-directory))
|
||||
(vertico-cycle t))
|
||||
|
||||
(add-to-list 'package-selected-packages 'marginalia)
|
||||
(use-package marginalia
|
||||
:if (package-installed-p 'marginalia)
|
||||
:straight t
|
||||
:functions marginalia-mode
|
||||
:hook (after-init . (lambda () (marginalia-mode +1)))
|
||||
:custom
|
||||
|
@ -1130,9 +1114,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
nil))
|
||||
:config (marginalia-mode +1))
|
||||
|
||||
(add-to-list 'package-selected-packages 'orderless)
|
||||
(use-package orderless
|
||||
:if (package-installed-p 'orderless)
|
||||
:straight t
|
||||
:custom
|
||||
(completion-styles '(orderless basic))
|
||||
(completion-category-defaults nil)
|
||||
|
@ -1140,11 +1123,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
(eglot (styles orderless))
|
||||
(eglot-capf (styles orderless)))))
|
||||
|
||||
(add-to-list 'package-selected-packages 'corfu)
|
||||
(add-to-list 'package-selected-packages 'corfu-terminal)
|
||||
|
||||
(use-package corfu
|
||||
:if (package-installed-p 'corfu)
|
||||
:straight t
|
||||
:defines (corfu-map
|
||||
corfu-mode-map
|
||||
corfu-margin-formatters)
|
||||
|
@ -1193,13 +1173,12 @@ Configure email with iCalendar event support, to integrate with
|
|||
(corfu-popupinfo-delay 0.3))
|
||||
|
||||
(use-package corfu-terminal
|
||||
:if (package-installed-p 'corfu-terminal)
|
||||
:straight t
|
||||
:after corfu
|
||||
:functions corfu-terminal-mode)
|
||||
|
||||
(add-to-list 'package-selected-packages 'cape)
|
||||
(use-package cape
|
||||
:if (package-installed-p 'cape)
|
||||
:straight t
|
||||
:after corfu
|
||||
:functions (cape-emoji
|
||||
cape-file
|
||||
|
@ -1212,11 +1191,9 @@ Configure email with iCalendar event support, to integrate with
|
|||
:custom
|
||||
(cape-dabbrev-min-length (+ corfu-auto-prefix 1)))
|
||||
|
||||
(add-to-list 'package-selected-packages 'consult)
|
||||
(add-to-list 'package-selected-packages 'consult-eglot)
|
||||
|
||||
(use-package consult
|
||||
:if (package-installed-p 'consult)
|
||||
:straight t
|
||||
:functions (consult-org-heading
|
||||
consult-history)
|
||||
:bind (("<remap> <imenu>" . consult-imenu)
|
||||
|
@ -1234,13 +1211,12 @@ Configure email with iCalendar event support, to integrate with
|
|||
("<remap> <comint-history-isearch-backward-regexp>" . consult-history)))
|
||||
|
||||
(use-package consult-eglot
|
||||
:if (package-installed-p 'consult-eglot)
|
||||
:straight t
|
||||
:after (consult eglot)
|
||||
:bind (("C-c s s" . consult-eglot-symbols)))
|
||||
|
||||
(add-to-list 'package-selected-packages 'tempel)
|
||||
(use-package tempel
|
||||
:if (package-installed-p 'tempel)
|
||||
:straight t
|
||||
:defines tempel-path
|
||||
:functions (tempel-expand
|
||||
tempel-abbrev-mode)
|
||||
|
@ -1270,14 +1246,12 @@ Configure email with iCalendar event support, to integrate with
|
|||
;; :html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"css/style.css\"/>"
|
||||
)))
|
||||
|
||||
(add-to-list 'package-selected-packages 'rainbow-delimiters)
|
||||
(use-package rainbow-delimiters
|
||||
:if (package-installed-p 'rainbow-delimiters)
|
||||
:hook (prog-mode))
|
||||
:straight t
|
||||
:hook (after-init . rainbow-delimiters-mode))
|
||||
|
||||
(add-to-list 'package-selected-packages 'envrc)
|
||||
(use-package envrc
|
||||
:if (package-installed-p 'envrc)
|
||||
:straight t
|
||||
:hook (after-init . envrc-global-mode)
|
||||
:custom
|
||||
(envrc-show-summary-in-minibuffer t))
|
||||
|
@ -1292,9 +1266,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
:custom
|
||||
(treesit-font-lock-level 3))
|
||||
|
||||
(add-to-list 'package-selected-packages 'treesit-auto)
|
||||
(use-package treesit-auto
|
||||
:if (package-installed-p 'treesit-auto)
|
||||
:straight t
|
||||
:after treesit
|
||||
:functions (treesit-auto-add-to-auto-mode-alist
|
||||
global-treesit-auto-mode)
|
||||
|
@ -1366,13 +1339,12 @@ Configure email with iCalendar event support, to integrate with
|
|||
:yapf (:enabled nil)))))
|
||||
)
|
||||
|
||||
(add-to-list 'package-selected-packages 'apheleia)
|
||||
(use-package apheleia
|
||||
:if (package-installed-p 'apheleia)
|
||||
:straight t
|
||||
:defines (apheleia-formatters
|
||||
apheleia-mode-alist)
|
||||
:bind (("C-c c f" . apheleia-format-buffer))
|
||||
:hook (prog-mode)
|
||||
:hook (prog-mode . apheleia-mode)
|
||||
:custom (apheleia-remote-algorithm 'cancel)
|
||||
:config
|
||||
(add-to-list 'apheleia-mode-alist '(python-ts-mode . (ruff ruff-isort)))
|
||||
|
@ -1386,34 +1358,30 @@ Configure email with iCalendar event support, to integrate with
|
|||
(flymake-no-changes-timeout 1)
|
||||
(flymake-show-diagnostics-at-end-of-line 'short))
|
||||
|
||||
(add-to-list 'package-selected-packages 'flymake-yamllint)
|
||||
(add-to-list 'package-selected-packages 'flymake-eslint)
|
||||
|
||||
(use-package flymake-shellcheck
|
||||
:if (package-installed-p 'flymake-shellcheck)
|
||||
:disabled t
|
||||
:straight t
|
||||
:functions flymake-shellcheck-load
|
||||
:after flymake
|
||||
:hook (sh-mode . (lambda () (if (executable-find "shellcheck" t)
|
||||
(flymake-shellcheck-load)))))
|
||||
|
||||
(use-package flymake-yamllint
|
||||
:if (package-installed-p 'flymake-yamllint)
|
||||
:straight t
|
||||
:functions flymake-yamllint-setup
|
||||
:after flymake
|
||||
:hook (yaml-ts-mode . (lambda () (if (executable-find "yamllint" t)
|
||||
(flymake-yamllint-setup)))))
|
||||
|
||||
(use-package flymake-clippy
|
||||
:if (package-installed-p 'flymake-clippy)
|
||||
:disabled t
|
||||
:straight t
|
||||
:functions flymake-clippy-setup-backend
|
||||
:after flymake
|
||||
:hook (rust-mode . (lambda () (if (executable-find "clippy" t)
|
||||
(flymake-clippy-setup-backend)))))
|
||||
|
||||
(use-package flymake-eslint
|
||||
:if (package-installed-p 'flymake-eslint)
|
||||
:straight t
|
||||
:functions flymake-eslint-enable
|
||||
:after flymake
|
||||
:hook ((js-base-mode typescript-ts-base-mode) . (lambda () (if (executable-find "eslint" t)
|
||||
|
@ -1442,9 +1410,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
(project-remember-projects-under "~/Projects" t)
|
||||
))
|
||||
|
||||
(add-to-list 'package-selected-packages 'magit)
|
||||
(use-package magit
|
||||
:if (package-installed-p 'magit)
|
||||
:straight t
|
||||
:bind (("C-c g g" . magit-status)
|
||||
("C-c g d" . magit-dispatch)
|
||||
("C-c g f" . magit-file-dispatch)
|
||||
|
@ -1470,15 +1437,13 @@ Configure email with iCalendar event support, to integrate with
|
|||
|
||||
(when (or (package-installed-p 'emacsql-sqlite)
|
||||
(package-installed-p 'emacsql-sqlite-builtin))
|
||||
(add-to-list 'package-selected-packages 'forge)
|
||||
(use-package forge
|
||||
:if (package-installed-p 'forge)
|
||||
:straight t
|
||||
:defer t))
|
||||
|
||||
(when (executable-find "nix")
|
||||
(add-to-list 'package-selected-packages 'nix-mode)
|
||||
(use-package nix-mode
|
||||
:if (package-installed-p 'nix-mode)
|
||||
:straight t
|
||||
:mode "\\.nix\\'"
|
||||
:functions nix-prettify-global-mode
|
||||
:config
|
||||
|
@ -1488,9 +1453,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
(require 'nix-store)
|
||||
(nix-prettify-global-mode +1)))
|
||||
|
||||
(add-to-list 'package-selected-packages 'lua-mode)
|
||||
(use-package lua-mode
|
||||
:if (package-installed-p 'lua-mode)
|
||||
:straight t
|
||||
:mode "\\.lua\\'")
|
||||
|
||||
(defun my/enable-fill-column (col)
|
||||
|
@ -1520,9 +1484,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
(setq python-ts-mode-hook python-mode-hook))
|
||||
|
||||
(use-package python-docstring
|
||||
:if (package-installed-p 'python-docstring)
|
||||
:disabled t
|
||||
:hook python-base-mode)
|
||||
:straight t
|
||||
:hook (python-base-mode . python-docstring-mode))
|
||||
|
||||
(use-package files
|
||||
:custom
|
||||
|
@ -1558,11 +1521,9 @@ Configure email with iCalendar event support, to integrate with
|
|||
(doc-view-scale-internally t)
|
||||
(doc-view-image-width 850))
|
||||
|
||||
(add-to-list 'package-selected-packages 'markdown-mode)
|
||||
(use-package markdown-mode
|
||||
:if (package-installed-p 'markdown-mode)
|
||||
:hook
|
||||
((markdown-mode . turn-on-auto-fill))
|
||||
:straight t
|
||||
:hook ((markdown-mode . turn-on-auto-fill))
|
||||
:custom
|
||||
(markdown-enable-math t)
|
||||
(markdown-enable-html t)
|
||||
|
@ -1573,15 +1534,13 @@ Configure email with iCalendar event support, to integrate with
|
|||
(set-face-attribute 'markdown-blockquote-face nil :inherit 'variable-pitch)
|
||||
(set-face-attribute 'markdown-comment-face nil :inherit 'variable-pitch))
|
||||
|
||||
(add-to-list 'package-selected-packages 'pandoc-mode)
|
||||
(use-package pandoc-mode
|
||||
:if (package-installed-p 'pandoc-mode)
|
||||
:straight t
|
||||
:after (markdown-mode)
|
||||
:hook (markdown-mode . conditionally-turn-on-pandoc))
|
||||
|
||||
(add-to-list 'package-selected-packages 'bbdb)
|
||||
(use-package bbdb
|
||||
:if (package-installed-p 'bbdb)
|
||||
:straight t
|
||||
:bind (("M-g b" . bbdb-display-all-records))
|
||||
:custom
|
||||
(bbdb-file (locate-user-emacs-file "bbdb.gpg")))
|
||||
|
@ -1621,15 +1580,13 @@ Configure email with iCalendar event support, to integrate with
|
|||
(eww-auto-rename-buffer 'title)
|
||||
(eww-browse-url-new-window-is-tab nil))
|
||||
|
||||
(add-to-list 'package-selected-packages 'password-store)
|
||||
(use-package password-store
|
||||
:if (package-installed-p 'password-store)
|
||||
:straight t
|
||||
:defer t
|
||||
:functions password-store-get)
|
||||
|
||||
(add-to-list 'package-selected-packages 'scad-mode)
|
||||
(use-package scad-mode
|
||||
:if (package-installed-p 'scad-mode)
|
||||
:straight t
|
||||
:defer t)
|
||||
|
||||
;; Scratch buffer shortcut
|
||||
|
|
1
early-init.el
Normal file
1
early-init.el
Normal file
|
@ -0,0 +1 @@
|
|||
(setq package-enable-at-startup nil)
|
1
straight/repos/straight.el
Submodule
1
straight/repos/straight.el
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 88e574ae75344e39b436f863ef0344135c7b6517
|
78
straight/versions/default.el
Normal file
78
straight/versions/default.el
Normal file
|
@ -0,0 +1,78 @@
|
|||
(("apheleia" . "3e347cff47eb0072b47c56f6188c4f440e477770")
|
||||
("base16-emacs" . "8789114e45d09d114e0e197cb090ce7beb993901")
|
||||
("bbdb" . "53e8ba04c47b3542db75b68f9663941daf2e6ca4")
|
||||
("cape" . "5c468d6d657e8dc604ddf3feb80f70e1e05ac0a1")
|
||||
("citar" . "07d2a63c99fe35cbd468f8e6a322de05f1a29469")
|
||||
("citeproc-el" . "54184baaff555b5c7993d566d75dd04ed485b5c0")
|
||||
("closql" . "06efb5a37ee4a1169a82ba754fc1fa09a89cb273")
|
||||
("compat" . "99d74e635b76c3fa0b8403391e9d2efbd29f9901")
|
||||
("consult" . "4889458dccf842ab6223099f8a73ff8b147e9459")
|
||||
("consult-eglot" . "64262e72452f8fe6dd49d31bcdd4bd577b7d682d")
|
||||
("corfu" . "5e3a959766d2313651c5db3beedd937bfc27b57a")
|
||||
("corfu-terminal" . "501548c3d51f926c687e8cd838c5865ec45d03cc")
|
||||
("dash.el" . "1de9dcb83eacfb162b6d9a118a4770b1281bcd84")
|
||||
("diff-hl" . "b80ff9b4a772f7ea000e86fbf88175104ddf9557")
|
||||
("doom-modeline" . "9920ef511620e9fa5599cb357e48487f758b1bb1")
|
||||
("eglot" . "e17426e09542a3cc35191448c7e6666afdd13e58")
|
||||
("el-get" . "c0713e8d8e8ad987fe1283d76b9c637a10f048ef")
|
||||
("eldoc" . "91a8ae2fa66ac09f45337f9eca6c7aa643a063f4")
|
||||
("emacs-scad-mode" . "17a8158cc55fed473aa87d53f3f2b42e1c249d11")
|
||||
("emacs-which-key" . "38d4308d1143b61e4004b6e7a940686784e51500")
|
||||
("emacsmirror-mirror" . "b1e50f90d305c20752237dbf764920c656a2124e")
|
||||
("emacsql" . "32f086e6e1aca48120b71fec2437b4c8b21b29fd")
|
||||
("emms" . "b5567be2176dcbdf42aa2d0ccad32a44f245dd09")
|
||||
("envrc" . "532ecdab48d073963ba5b581c06f3c0b83db05a6")
|
||||
("external-completion" . "69f06e1eff72df60bb10153169edc859f27f58f2")
|
||||
("f.el" . "1e7020dc0d4c52d3da9bd610d431cab13aa02d8c")
|
||||
("flymake" . "c772251c9aaec34094fd4c5347d4e5f16647847b")
|
||||
("flymake-clippy" . "713b7e873d6b30dc0ded75d5d890d6847f2ea093")
|
||||
("flymake-eslint" . "6ab909b85a8e97815db9831cdd5f283a7830177f")
|
||||
("flymake-shellcheck" . "d55666f55e126f0e861f7e886202c17c6a1cf8f3")
|
||||
("flymake-yamllint" . "020d2a33568c8069801db9dd6992b8961a58de8d")
|
||||
("flyspell-correct" . "1e7a5a56362dd875dddf848b9a9e25d1395b9d37")
|
||||
("forge" . "efbebd4b5ed556acef0fa369348b8ae932935f1c")
|
||||
("ghub" . "772c3352307a86f40fc1519fe868a4a14ceb8d39")
|
||||
("gnu-elpa-mirror" . "3d0759ef4792b6461f2979a4e70e1c819df7283a")
|
||||
("hydra" . "317e1de33086637579a7aeb60f77ed0405bf359b")
|
||||
("inheritenv" . "bac62ca6324828623cf8ce5a3d6aee0fcb65d620")
|
||||
("jsonrpc" . "cd597b048e2a380c5f4ebfa3bbab90848275a294")
|
||||
("let-alist" . "4e05e158612f360f6080b1349d3962b1c8fee902")
|
||||
("ligature.el" . "6ac1634612dbd42f7eb81ecaf022bd239aabb954")
|
||||
("lua-mode" . "d074e4134b1beae9ed4c9b512af741ca0d852ba3")
|
||||
("magit" . "27f81d6e5cdcc7ddfb0d4a33f6566ef98a0faaa5")
|
||||
("marginalia" . "7a7f3363d042d1bf43ae697f4401638ed18230a5")
|
||||
("markdown-mode" . "8a7773f87733866a961ea4c518a4a2f283f21970")
|
||||
("melpa" . "c13d67c87248b9af8f9d6265a8626a330f9d478c")
|
||||
("nerd-icons-completion" . "426a1d7c29a04ae8e6ae9b55b0559f11a1e8b420")
|
||||
("nerd-icons-corfu" . "7077bb76fefc15aed967476406a19dc5c2500b3c")
|
||||
("nerd-icons-dired" . "c1c73488630cc1d19ce1677359f614122ae4c1b9")
|
||||
("nerd-icons-ibuffer" . "16270e898abbba2bd810cbf97f999c6142863101")
|
||||
("nerd-icons.el" . "dcfc64152ada7514bcdd1c6ce45590c359445ec6")
|
||||
("nix-mode" . "719feb7868fb567ecfe5578f6119892c771ac5e5")
|
||||
("nongnu-elpa" . "f031337c6ee125455a98e2de899a563388e5de19")
|
||||
("orderless" . "49d1fdfb80b55699a00b11bc916ad29c0447039b")
|
||||
("org-roam" . "0b9fcbc97b65b349826e63bad89ca121a08fd2be")
|
||||
("pandoc-mode" . "18214fc2df357b50e62c79993aac4ff0cf1d9499")
|
||||
("parsebib" . "ace9df707108b17759c004c7387655277122d4c1")
|
||||
("password-store" . "b5e965a838bb68c1227caa2cdd874ba496f10149")
|
||||
("popon" . "bf8174cb7e6e8fe0fe91afe6b01b6562c4dc39da")
|
||||
("project" . "c0fb3da8b90735fb280ab157f4a8033b42105125")
|
||||
("python-docstring-mode" . "48e6489ec2db8b4959a9f591910941c2a5f132a3")
|
||||
("queue" . "8df1334d54d4735d2f821790422a850dfaaa08ef")
|
||||
("rainbow-delimiters" . "f40ece58df8b2f0fb6c8576b527755a552a5e763")
|
||||
("s.el" . "dda84d38fffdaf0c9b12837b504b402af910d01d")
|
||||
("seq" . "da86da9bf111f68fb81efd466d76d53af5aebc00")
|
||||
("shrink-path.el" . "c14882c8599aec79a6e8ef2d06454254bb3e1e41")
|
||||
("straight.el" . "88e574ae75344e39b436f863ef0344135c7b6517")
|
||||
("string-inflection" . "be3808c9bbd3f732f94cea7e19ad68eac5f6dad0")
|
||||
("tempel" . "317c0e41d542721db11a7a8a1c6b78762959259b")
|
||||
("track-changes" . "fa984c7d5a67b60bad4240e15a6d0d9d1896b07d")
|
||||
("transient" . "b2cb4e578f2362a0354c4a31a6bd89d6c4b63d63")
|
||||
("treepy.el" . "75fe3ec37e6f9b2bdfd6d0584efd984d0c00a43e")
|
||||
("treesit-auto" . "016bd286a1ba4628f833a626f8b9d497882ecdf3")
|
||||
("use-package" . "a6e856418d2ebd053b34e0ab2fda328abeba731c")
|
||||
("vertico" . "d70fdeb67be9ecc88c438039eefa9ef0e2104005")
|
||||
("with-editor" . "78c303a0181f2132e2254f965176b549044d74f2")
|
||||
("xref" . "53c4abbc26febcd45be79dea43b7dc56d12112de")
|
||||
("yaml.el" . "70c4fcead97e9bd6594e418c922ae769818f4245"))
|
||||
:gamma
|
Loading…
Reference in a new issue