This commit is contained in:
Zelong Kuang
2025-12-22 19:52:11 +11:00
parent 14c950cf50
commit e4154108e7
2 changed files with 4 additions and 4 deletions

View File

@@ -136,7 +136,7 @@
;; M-g bindings in `goto-map'
("M-g e" . consult-compile-error)
("M-g r" . consult-grep-match)
("M-s f" . consult-flymake) ;; Alternative: consult-flycheck
("M-s f" . consult-flycheck) ;; Alternative: consult-flycheck
("M-g g" . consult-goto-line) ;; orig. goto-line
("M-g M-g" . consult-goto-line) ;; orig. goto-line
("M-g o" . consult-outline) ;; Alternative: consult-org-heading
@@ -156,7 +156,6 @@
("M-s L" . consult-line-multi)
("M-s k" . consult-keep-lines)
("M-s u" . consult-focus-lines)
("C-c p f" . consult-projectile)
("C-x C-r" . consult-recent-file)
("C-x C-b" . consult-buffer)
@@ -173,7 +172,8 @@
(setq xref-show-xrefs-function #'consult-xref
xref-show-definitions-function #'consult-xref))
(use-package consult-projectile)
;; (use-package consult-projectile)
(use-package consult-flycheck)
(use-package consult-dir
:ensure t

View File

@@ -38,7 +38,7 @@
("h d" rainbow-delimiters-mode "delimiter" :toggle t)
("h t" global-hl-todo-mode "todo" :toggle t))
"Program"
(("f" flymake-mode "flymake" :toggle t)
(("f" global-flycheck-mode "flycheck" :toggle t)
("O" hs-minor-mode "hideshow" :toggle t)
("u" subword-mode "subword" :toggle t)
("W" which-function-mode "which function" :toggle t)