aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorlemurianmage <azureazure@disroot.org>2026-01-30 15:08:21 +0100
committerlemurianmage <azureazure@disroot.org>2026-01-30 15:08:21 +0100
commitaed94b16cd3c16bdb05d7eb94fb4ffe01f44c6c8 (patch)
tree5696b7f09aa26ae4ba35fd57fbb4e04f47228ce5 /init.el
parentbcb6044594c3451a3186425be9b3f4929558a00a (diff)
downloaddotemacs-aed94b16cd3c16bdb05d7eb94fb4ffe01f44c6c8.tar.gz
various little changes
Diffstat (limited to 'init.el')
-rw-r--r--init.el25
1 files changed, 9 insertions, 16 deletions
diff --git a/init.el b/init.el
index 5cc5c71..39c62b8 100644
--- a/init.el
+++ b/init.el
@@ -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))