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:
@@ -10,12 +10,18 @@
|
||||
(setq make-backup-files nil)
|
||||
(setq custom-file (expand-file-name "~/.emacs.d/custom.el"))
|
||||
(load custom-file 'no-error 'no-message)
|
||||
(setq use-short-answers t)
|
||||
|
||||
(global-set-key (kbd "s-a") 'mark-whole-buffer) ;;对应Windows上面的Ctrl-a 全选
|
||||
(global-set-key (kbd "s-c") 'kill-ring-save) ;;对应Windows上面的Ctrl-c 复制
|
||||
(global-set-key (kbd "s-s") 'save-buffer) ;; 对应Windows上面的Ctrl-s 保存
|
||||
(global-set-key (kbd "s-v") 'yank) ;对应Windows上面的Ctrl-v 粘贴
|
||||
(global-set-key (kbd "s-z") 'undo) ;对应Windows上面的Ctrol-z 撤销
|
||||
(global-set-key (kbd "s-x") 'sexp) ;对应Windows上面的Ctrol-x 剪切
|
||||
|
||||
(use-package exec-path-from-shell
|
||||
:init
|
||||
(exec-path-from-shell-initialize))
|
||||
|
||||
(global-set-key (kbd "C-x C-b") 'ibuffer)
|
||||
|
||||
(provide 'init-better-default)
|
||||
|
||||
Reference in New Issue
Block a user