Compare commits

..

4 Commits

Author SHA1 Message Date
kj
27f237397a feat(config): enable global auto-revert mode
Configure Emacs to automatically reload files and dired buffers when
they are changed on disk.
2026-06-11 08:14:29 -03:00
kj
ec509018cc feat(php): add magit-psr package configuration 2026-06-11 08:14:09 -03:00
kj
929df1655f style(ai): change default gptel mode to markdown-mode 2026-06-11 08:13:32 -03:00
kj
de9b8c9b84 chore(ai): update available model list 2026-06-11 08:12:55 -03:00
3 changed files with 24 additions and 13 deletions

View File

@@ -22,23 +22,23 @@
:stream t :stream t
:protocol "http" :protocol "http"
:host "127.0.0.1:1945" :host "127.0.0.1:1945"
:models '("gemma-4-E4B" :models '("Qwen2.5-Coder"
"gemma-4-E4B-UNCENSORED"
"gemma-4-12B"
"gemma-4-12B-Q2"
"gemma-4-26B"
"gemma-4-26B-Q2"
"gemma-4-31B"
"gemma-4-31B-Q2"
"Qwen3.5-0.8B" "Qwen3.5-0.8B"
"Qwen3.5-4B" "Qwen3.5-4B"
"Qwen3.5-9B" "Qwen3.5-9B"
"Qwen3.6-27B" "Qwen3.6-27B"
"Qwen2.5-Coder"
"Qwen3Coder"
"Qwen3Coder-Q2" "Qwen3Coder-Q2"
"gptoss-20b" "Qwen3Coder"
"QwenSeek-2B"))) "QwenSeek-2B"
"gemma-4-12B"
"gemma-4-26B-Q2"
"gemma-4-26B"
"gemma-4-31B-Q2"
"gemma-4-31B"
"gemma-4-E2B"
"gemma-4-E4B-UNCENSORED"
"gemma-4-E4B"
"gptoss-20b")))
(setq gptel-model 'gemma4:31b-cloud (setq gptel-model 'gemma4:31b-cloud
gptel-backend (gptel-make-ollama "Ollama" gptel-backend (gptel-make-ollama "Ollama"
@@ -52,7 +52,7 @@
"minimax-m2.5:cloud" "minimax-m2.5:cloud"
"qwen3-coder-next:cloud"))) "qwen3-coder-next:cloud")))
(setq gptel-default-mode 'org-mode (setq gptel-default-mode 'markdown-mode
gptel-prompt-prefix-alist gptel-prompt-prefix-alist
'((markdown-mode . "# User\n\n") '((markdown-mode . "# User\n\n")
(org-mode . "* User\n\n") (org-mode . "* User\n\n")

View File

@@ -80,6 +80,10 @@
line-move-visual nil line-move-visual nil
track-eol t ; Keep cursor at end of lines. Require line-move-visual is nil. track-eol t ; Keep cursor at end of lines. Require line-move-visual is nil.
set-mark-command-repeat-pop t) ; Repeating C-SPC after popping mark pops it again set-mark-command-repeat-pop t) ; Repeating C-SPC after popping mark pops it again
;; Automatically reload files changed on disk
(global-auto-revert-mode 1) ;; buffers
(setq global-auto-revert-non-file-buffers t) ;; dired
;; auto-revert-verbose nil) ;; disable notifications
;; Visualize TAB, (HARD) SPACE, NEWLINE ;; Visualize TAB, (HARD) SPACE, NEWLINE
(setq-default show-trailing-whitespace nil ; Don't show trailing whitespace by default (setq-default show-trailing-whitespace nil ; Don't show trailing whitespace by default
cursor-type 'bar) ; Usar la barrita como cursor cursor-type 'bar) ; Usar la barrita como cursor

View File

@@ -53,5 +53,12 @@
) )
) )
(use-package magit-psr
:ensure (:host github :repo "KJ2ME/magit-psr")
:config
(setq magit-psr-recent-commits 20
;; magit-psr-show-warnings t
magit-psr-show-placeholder nil))
(provide 'lang-php) (provide 'lang-php)
;;; lang-php.el ends here ;;; lang-php.el ends here