This commit is contained in:
2025-11-22 20:13:14 +08:00
parent 62dd22b544
commit 298a9913b5
7 changed files with 42 additions and 4 deletions
+2
View File
@@ -15,3 +15,5 @@ tramp/
# MacOS (just in case)
.DS_Store
+4 -3
View File
@@ -17,8 +17,9 @@
:stream t
:key "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"
:models '(google/gemini-2.5-flash
google/gemini-2.5-pro
anthropic/claude-sonnet-4
x-ai/grok-4.1-fast
x-ai/grok-code-fast-1
google/gemini-3-pro-preview
anthropic/claude-sonnet-4.5)))
;; Use org-mode by default for better note-taking
@@ -169,7 +170,7 @@
(interactive)
(when (use-region-p)
(gptel-rewrite-region (region-beginning) (region-end)
"Fix spelling, grammar, and improve clarity. Keep the same tone and style.")))
"Fix spelling, grammar, and improve clarity. Keep the same tone and style.")))
;; Add keybindings for helper functions
(map! :leader
+1
View File
@@ -8,6 +8,7 @@
(load! "ai")
(load! "inbox")
(load! "metrics")
(load! "theme")
;; Performance tweaks
(setq gc-cons-threshold 100000000 ; Increase GC threshold to 100MB
+16
View File
@@ -0,0 +1,16 @@
;;; -*- lexical-binding: t -*-
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
'("d481904809c509641a1a1f1b1eb80b94c58c210145effc2631c1a7f2e4a2fdf4"
"039112154ee5166278a7b65790c665fe17fd21c84356b7ad4b90c29ffe0ad606"
"b58b5aa5664a927866daa481ae5f0795423ed3982ce5f64e56c4106261dbd13e" default)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
+2
View File
@@ -28,3 +28,5 @@
:desc "Toggle command log" "L" #'clm/toggle-command-log-buffer))
)
+4 -1
View File
@@ -1,5 +1,5 @@
;; -*- no-byte-compile: t; -*-
;;; $DOOMDIR/packages.el
;; -*- no-byte-compile: t; -*-
(package! super-save)
@@ -54,3 +54,6 @@
;; Usage metrics and key tracking
(package! keyfreq)
(package! command-log-mode)
;; Theme
(package! base16-theme)
+13
View File
@@ -0,0 +1,13 @@
;;; theme.el -*- lexical-binding: t; -*-
;; Configure base16-theme
;; https://github.com/tinted-theming/base16-emacs
;; Set customization variables before loading the theme
;; (Optional: adjust these as needed)
(setq base16-distinct-fringe-background t
base16-highlight-mode-line 'box)
;; Set the theme to base16-default-dark
;; This overrides any theme set in core.el
(setq doom-theme 'base16-default-dark)