feat(config): Improve dired, keybindings, terminal UI and add packages

- Add dired buffer killing and custom dirvish layout toggle
- Replace ido with fido-mode in terminal config
- Add custom terminal color theme with 24-bit color support
- Add new packages: tokei, helpful, gptel-magit
- Refactor project keybindings under C-x p prefix
- Add mwim navigation bindings globally
- Improve ibuffer filter groups and consult buffer filters
- Add diff-mode keybindings and refine magit diff display
This commit is contained in:
2026-06-03 20:29:01 +08:00
parent 35fd3dfd27
commit 8db37d1c6d
13 changed files with 235 additions and 83 deletions

View File

@@ -4,7 +4,6 @@
;;; Code:
(use-package dired
:straight nil
:config
@@ -18,7 +17,9 @@
dired-recursive-copies 'always
dired-mouse-drag-files t
mouse-drag-and-drop-region-cross-program t
dired-compress-file-default-suffix ".zip")
dired-compress-file-default-suffix ".zip"
dired-kill-when-opening-new-buffer t
dired-kill-when-opening-new-dired-buffer t)
(put 'dired-find-alternate-file 'disabled nil))
;; dirvish
@@ -42,7 +43,8 @@
(if *is-android*
(setq dirvish-default-layout '(1 0.6))
(setq dirvish-default-layout '(1 0.15 0.45)))
(setq dirvish-default-layout nil
dirvish-layout-recipes '((1 0.15 0.45))))
(with-eval-after-load 'dirvish
(add-hook 'dired-mode-hook #'dired-hide-details-mode))