Config: add exwm support, install consult-notes, fix some keybinding.

This commit is contained in:
2026-04-19 10:59:01 +08:00
parent fffd35f8ed
commit 8576ac275a
11 changed files with 110 additions and 24 deletions

View File

@@ -4,8 +4,6 @@
;;; Code:
(use-package general)
;; 修改mac键位
(when *is-mac*
(setq mac-command-modifier 'meta)
@@ -28,10 +26,11 @@
:prefix "C-c u"
"l" 'global-tab-line-mode
"d" 'disable-theme
"f" 'rainbow-mode
"r" 'rainbow-mode
"b" 'indent-bars-mode
"t" 'consult-theme
"c" 'my-color-picker)
"c" 'my-color-picker
"f" 'describe-face)
;; f for find and consult command
(general-def
@@ -55,7 +54,7 @@
;; o for org-mode
(general-def
:prefix "C-c o"
"s" 'consult-org-agenda
"s" 'consult-notes
"g" 'consult-org-ripgrep
"C" 'calendar
"c" 'org-capture
@@ -180,7 +179,7 @@
"C-x C-b" 'ibuffer-other-window
"C-x K" 'crux-kill-other-buffers
"C-x b" 'consult-buffer
"M-o" 'ace-window
"M-o" 'other-window
;; edit
"M-c" 'capitalize-dwim