emacs: improve macos configuration
This commit is contained in:
parent
11a38b847f
commit
e4a165034f
1 changed files with 5 additions and 5 deletions
10
emacs.el
10
emacs.el
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue