fix: Correct ibuffer occur grouping, add temperature parameter to Kimi API
- Move `occur-mode` and `occur-edit-mode` from "Emacs" to "Search" ibuffer group - Add temperature parameter to Kimi API request - Remove `~` from electric-pair pairs - Change `multiple-cursors` config to use `:custom` - Fix duplicate `holiday` face definition in both base16 themes
This commit is contained in:
@@ -183,7 +183,9 @@
|
||||
(mode . grep-mode)
|
||||
(mode . rg-mode)
|
||||
(mode . xref--xref-buffer-mode)
|
||||
(mode . xref-edit-mode)))
|
||||
(mode . xref-edit-mode)
|
||||
(mode . occur-mode)
|
||||
(mode . occur-edit-mode)))
|
||||
("Diff" (name . "^*Diff"))
|
||||
("Emacs" (or
|
||||
(name . "^\\*Help\\*$")
|
||||
@@ -194,8 +196,7 @@
|
||||
(name . "^*Buffer List*")
|
||||
(name . "\\*discomfort\\*")
|
||||
(mode . calendar-mode)
|
||||
(mode . grep-mode)
|
||||
(mode . occur-mode))))))
|
||||
(mode . grep-mode))))))
|
||||
|
||||
(add-hook 'ibuffer-hook
|
||||
(lambda () (ibuffer-switch-to-saved-filter-groups "Main")
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
(use-package elec-pair
|
||||
:config
|
||||
(setq electric-pair-inhibit-predicate 'electric-pair-conservative-inhibit
|
||||
electric-pair-pairs (append '((?\~ . ?\~) (?\= . ?\=)) electric-pair-pairs)))
|
||||
electric-pair-pairs (append '((?\= . ?\=)) electric-pair-pairs)))
|
||||
|
||||
;; multiple-cursors
|
||||
(use-package multiple-cursors
|
||||
:config
|
||||
(setq mc/insert-numbers-default 1))
|
||||
:custom
|
||||
(mc/insert-numbers-default 1))
|
||||
|
||||
;; crux,实用函数
|
||||
(use-package crux)
|
||||
|
||||
@@ -129,7 +129,7 @@ from the last 1500 characters of the buffer."
|
||||
(auth-source-pick-first-password :host "api.kimi.com" :user "apikey"))
|
||||
:stream t
|
||||
:models '((kimi-for-coding))
|
||||
:request-params '(:thinking (:type "disabled"))
|
||||
:request-params '(:temperature 0.6 :thinking (:type "disabled"))
|
||||
:header (lambda (_)
|
||||
(when-let ((key (gptel--get-api-key)))
|
||||
`(("User-Agent" . "RooCode/3.30.3")
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
`(holiday ((,class (:underline (:style line :color ,yellow)))))
|
||||
`(cal-china-x-important-holiday-face ((,class (:underline (:style line :color ,red)))))
|
||||
`(cal-china-x-general-holiday-face ((,class (:underline (:style line :color ,yellow)))))
|
||||
`(holiday ((,class (:underline (:style line :color ,yellow)))))
|
||||
`(markdown-header-face-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
|
||||
`(markdown-header-face-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
|
||||
`(markdown-header-face-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
`(holiday ((,class (:underline (:style line :color ,yellow)))))
|
||||
`(cal-china-x-important-holiday-face ((,class (:underline (:style line :color ,red)))))
|
||||
`(cal-china-x-general-holiday-face ((,class (:underline (:style line :color ,yellow)))))
|
||||
`(holiday ((,class (:underline (:style line :color ,yellow)))))
|
||||
`(markdown-header-face-1 ((,class (:foreground ,orange :height 1.0 :weight normal))))
|
||||
`(markdown-header-face-2 ((,class (:foreground ,blue :height 1.0 :weight normal))))
|
||||
`(markdown-header-face-3 ((,class (:foreground ,green :height 1.0 :weight normal))))
|
||||
|
||||
Reference in New Issue
Block a user