Config: add exwm support, install consult-notes, fix some keybinding.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user