diff options
| author | lemurianmage <azureazure@disroot.org> | 2026-01-30 15:08:21 +0100 |
|---|---|---|
| committer | lemurianmage <azureazure@disroot.org> | 2026-01-30 15:08:21 +0100 |
| commit | aed94b16cd3c16bdb05d7eb94fb4ffe01f44c6c8 (patch) | |
| tree | 5696b7f09aa26ae4ba35fd57fbb4e04f47228ce5 | |
| parent | bcb6044594c3451a3186425be9b3f4929558a00a (diff) | |
| download | dotemacs-aed94b16cd3c16bdb05d7eb94fb4ffe01f44c6c8.tar.gz | |
various little changes
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | early-init.el | 1 | ||||
| -rw-r--r-- | init.el | 25 | ||||
| -rw-r--r-- | org.el | 15 | ||||
| -rw-r--r-- | straight-bootstrap.el | 15 |
5 files changed, 37 insertions, 21 deletions
@@ -7,7 +7,7 @@ /projects /transient/ /tree-sitter/ -# no-littering /etc/ /var/ /straight/ +/xenops/
\ No newline at end of file diff --git a/early-init.el b/early-init.el index c62f7e7..35f3ace 100644 --- a/early-init.el +++ b/early-init.el @@ -1,4 +1,3 @@ -(setq gc-cons-threshold 10000000) (setq byte-compile-warnings '(not obsolete)) (setq warning-suppress-log-types '((comp) (bytecomp))) (setq native-comp-async-report-warnings-errors 'silent) @@ -1,18 +1,4 @@ -(defvar bootstrap-version) -(let ((bootstrap-file - (expand-file-name - "straight/repos/straight.el/bootstrap.el" - (or (bound-and-true-p straight-base-dir) - user-emacs-directory))) - (bootstrap-version 7)) - (unless (file-exists-p bootstrap-file) - (with-current-buffer - (url-retrieve-synchronously - "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" - 'silent 'inhibit-cookies) - (goto-char (point-max)) - (eval-print-last-sexp))) - (load bootstrap-file nil 'nomessage)) +(load-file (expand-file-name "straight-bootstrap.el" user-emacs-directory)) (straight-use-package 'org) ; org complains about this for some reason @@ -47,6 +33,7 @@ (setopt completions-max-height 20) (setopt completions-format 'one-column) (setopt completion-auto-select 'second-tab) +(setopt kill-whole-line t) (keymap-set minibuffer-mode-map "TAB" 'minibuffer-complete) @@ -76,12 +63,18 @@ (add-to-list 'tab-bar-format 'tab-bar-format-align-right 'append) (add-to-list 'tab-bar-format 'tab-bar-format-global 'append) -(setq straight-use-package-by-default t) +(setopt straight-use-package-by-default t) +(use-package gcmh + :config + (gcmh-mode 1)) (use-package emacs :hook ((prog-mode . electric-pair-mode)) + :bind + (("C-c c c" . calc) + ("C-c c f" . full-calc)) :config (load-theme 'modus-operandi-tinted t)) @@ -5,7 +5,10 @@ :hook ((org-mode . visual-line-mode)) :config - (setq org-export-with-smart-quotes t)) + (setq org-export-with-smart-quotes t) + ;; (dolist (i '("amsmath" "amssymb" "mathtools" "mathrsfs")) + ;; (add-to-list 'org-latex-packages-alist '("" i t))) + ) (use-package org-roam :init @@ -17,6 +20,7 @@ ("C-c r f" . org-roam-node-find) ("C-c r l" . org-roam-buffer-toggle)) :config + (require 'org-roam-export) (org-roam-db-autosync-mode)) (use-package org-roam-ui @@ -28,6 +32,11 @@ :config (setq org-roam-ui-sync-theme t org-roam-ui-follow t - org-roam-ui-update-on-save t - org-roam-ui-open-on-start t)) + org-roam-ui-update-on-save t)) + +(use-package xenops + :hook + ((org-mode . xenops-mode)) + :config + (setq xenops-reveal-on-entry t)) diff --git a/straight-bootstrap.el b/straight-bootstrap.el new file mode 100644 index 0000000..11ccfa1 --- /dev/null +++ b/straight-bootstrap.el @@ -0,0 +1,15 @@ +(defvar bootstrap-version) +(let ((bootstrap-file + (expand-file-name + "straight/repos/straight.el/bootstrap.el" + (or (bound-and-true-p straight-base-dir) + user-emacs-directory))) + (bootstrap-version 7)) + (unless (file-exists-p bootstrap-file) + (with-current-buffer + (url-retrieve-synchronously + "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el" + 'silent 'inhibit-cookies) + (goto-char (point-max)) + (eval-print-last-sexp))) + (load bootstrap-file nil 'nomessage)) |
