emacs: improve macos configuration

This commit is contained in:
joachimschmidt557 2025-03-04 18:45:09 +01:00
parent 11a38b847f
commit e4a165034f
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

View file

@ -110,6 +110,8 @@
(global-auto-revert-mode 1)
(put 'narrow-to-region 'disabled nil)
(global-unset-key (kbd "C-z"))
(setq mac-command-modifier 'meta
mac-option-modifier nil)
;; (set-face-attribute 'default nil :height 140)
(setq use-package-compute-statistics t)
@ -141,7 +143,7 @@
(use-package exec-path-from-shell
:config
(when (memq window-system '(mac))
(when (memq window-system '(mac ns))
(exec-path-from-shell-initialize)))
(use-package undo-tree
@ -214,17 +216,15 @@
(use-package typst-mode)
(use-package ziggy-mode)
(use-package zine-mode)
(use-package eglot
:defer t
:config
(add-to-list 'eglot-server-programs
'(svelte-mode . ("svelteserver" "--stdio"))))
(use-package ellama
:bind ("C-c e" . ellama-transient-main-menu)
:init
:config
(require 'llm-ollama)
(setopt ellama-auto-scroll t)
(setopt ellama-provider