Config: switch consult-notes to fork version, add delight to clean mode-line, tidy package configs

This commit is contained in:
User
2026-05-09 16:55:32 +08:00
parent f419304684
commit 5ee06f8500
5 changed files with 137 additions and 102 deletions

View File

@@ -151,7 +151,6 @@
"C-<tab>" 'org-cycle-parent-subtree
"C-c i" 'consult-outline
"C-c t l" 'org-toggle-link-display
"C-c C-k" 'kmacro-call-macroe
"M-{" 'org-previous-visible-heading
"M-}" 'org-next-visible-heading)
@@ -173,7 +172,7 @@
"c" 'hydra-multiple-cursors/body
"r" 'restart-emacs
"e" 'er/expand-region
"s" 'consult-focus-lines
"s" 'consult-line
"i" 'consult-imenu
"I" 'consult-imenu-multi
"a" 'org-agenda
@@ -181,8 +180,8 @@
"k" 'comment-line
;; "v" 'vterm
"E" 'eshell
"C-k" 'kmacro-call-macro
"C-t" 'trashed)
"C-t" 'trashed
"C-s" 'consult-focus-lines)
;; global map
(general-def
@@ -221,10 +220,10 @@
"M-p" 'backward-paragraph
"M-n" 'forward-paragraph
"<mouse-2>" 'xref-find-definitions-at-mouse
"C-s" 'consult-line
"C-M-;" 'avy-goto-char
"C-M-'" 'avy-goto-word-1
"M-g g" 'avy-goto-line
"M-g M-g" 'consult-goto-line
;; window
"M-<left>" 'shrink-window-horizontally
@@ -238,8 +237,7 @@
;; other
"C-x r b" 'consult-bookmark
"C-;" 'embark-act
"<mouse-3>" 'global-tab-line-mode)
"C-;" 'embark-act)
;; expand region
(setq expand-region-reset-fast-key "r")