feat: Add LLM integration and improve Emacs configuration

- Add gptel and gptel-magit packages for AI-powered Git commits and
- chat Add org-roam and org-roam-ui for better note-taking and
- knowledge management Add benchmark-init to measure startup
- performance Add winum for window navigation with keybindings Add
- vterm for better terminal emulation Configure exec-path-from-shell
- to inherit shell environment Add org-roam.db to gitignore Set
- use-short-answers for yes/no prompts Add org-todo-list keybinding
- and update magit binding Configure org-agenda-files to include org
- directory Remove commented eat package configuration
This commit is contained in:
Zelong Kuang
2025-12-14 06:09:17 +11:00
parent f38e5f3598
commit 0afab4e64e
8 changed files with 79 additions and 3 deletions

View File

@@ -14,7 +14,9 @@
;; (org-capture-init)
(add-to-list 'org-modules 'org-habit)
(setq org-directory "~/org/")
(add-to-list 'org-agenda-files "~/org")
)
(use-package org-modern
:config
(setq org-modern-table nil))
@@ -51,4 +53,24 @@
;; More immediate live-previews -- the default delay is 1 second
(setq org-latex-preview-mode-update-delay 0.25))
(use-package org-roam
:ensure t
:custom
(org-roam-directory (file-truename "~/org/roam"))
:bind (("C-c n l" . org-roam-buffer-toggle)
("C-c n f" . org-roam-node-find)
("C-c n g" . org-roam-graph)
("C-c n i" . org-roam-node-insert)
("C-c n c" . org-roam-capture)
;; Dailies
("C-c n j" . org-roam-dailies-capture-today))
:config
;; If you're using a vertical completion framework, you might want a more informative completion interface
(setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
(org-roam-db-autosync-mode)
;; If using org-roam-protocol
(require 'org-roam-protocol))
(use-package org-roam-ui)
(provide 'init-org)