commit 13159c38088ea5238cbc4f3d7b1e074359ef355e
parent 92796279f7ff188abd857e162b31070f1fa02e78
Author: Michael Neuper <michael@michaelneuper.com>
Date: Tue, 12 Aug 2025 19:13:14 +0200
minor refactor and changes
Diffstat:
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/config.org b/config.org
@@ -122,7 +122,7 @@ Enable relative line numbers and make their slant normal (not italic).
;; (setq display-line-numbers-type 'relative)
(setq display-line-numbers-type 'visual)
-(add-hook! display-line-numbers-mode
+(add-hook! 'display-line-numbers-mode-hook
(custom-set-faces!
'((line-number line-number-current-line)
:slant normal)
@@ -891,7 +891,7 @@ Install with ~npm install -g pyright~.
(after! eglot
(add-to-list 'eglot-server-programs '(python-mode . ("pyright-langserver" "--stdio"))))
-(add-hook! python-mode
+(add-hook! 'python-mode-hook
(setq python-shell-interpreter "python3.11"
doom-modeline-env-python-executable "python3.11"))
#+end_src
@@ -948,6 +948,7 @@ Set some =org= variables.
org-edit-src-content-indentation 0)
;; FIXME blurry previews when using #+attr_org: :width
+;; this only seems to be an issue when using emacs-plus
;; (setq org-image-actual-width (/ (display-pixel-width) 3)) ; set images to a third of the width of the screen
;; org-image-actual-width (min (/ (display-pixel-width) 3) 800)
#+end_src
diff --git a/init.el b/init.el
@@ -51,13 +51,13 @@
;;parinfer ; turn lisp into python, sort of
;;rotate-text ; cycle region at point between text candidates
snippets ; my elves. They type so I don't have to
- ;;word-wrap ; soft wrapping with language-aware indent
+ word-wrap ; soft wrapping with language-aware indent
:emacs
(dired +dirvish +icons) ; making dired pretty [functional]
electric ; smarter, keyword-based electric-indent
;;eww ; the internet is gross
- ;;ibuffer ; interactive buffer management
+ (ibuffer +icons) ; interactive buffer management
undo ; persistent, smarter undo for your inevitable mistakes
vc ; version-control and Emacs, sitting in a tree
@@ -134,7 +134,7 @@
(latex +cdlatex +lsp) ; 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
+ (lua +tree-sitter) ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!"
@@ -154,12 +154,12 @@
rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good
;;(scheme +guile) ; a fully conniving family of lisps
- sh ; she sells {ba,z,fi}sh shells on the C xor
+ (sh +tree-sitter) ; she sells {ba,z,fi}sh shells on the C xor
;;sml
;;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 +tree-sitter) ; the tubes
yaml ; JSON, but readable
;;zig ; C, but simpler