Config: optimize consult config, change some keybindings and function
This commit is contained in:
@@ -42,7 +42,8 @@
|
||||
"l" 'consult-locate
|
||||
"m" 'consult-fd-global
|
||||
"d" 'my-open-current-directory
|
||||
"j" 'consult-jinx)
|
||||
"j" 'consult-jinx
|
||||
"k" 'consult-kmacro)
|
||||
|
||||
;; t for modes toggle
|
||||
(general-def
|
||||
@@ -140,10 +141,11 @@
|
||||
|
||||
;; org-mode
|
||||
(general-def org-mode-map
|
||||
"C-<tab>" 'org-cycle-current-subtree
|
||||
"C-c i" 'consult-org-heading
|
||||
"C-<tab>" 'org-cycle-parent-subtree
|
||||
"C-c i" 'consult-outline
|
||||
"C-c o w" 'my-org-refile-to-new-file
|
||||
"C-c o l" 'org-toggle-link-display)
|
||||
"C-c o l" 'org-toggle-link-display
|
||||
"C-c C-k" 'kmacro-call-macro)
|
||||
|
||||
;; emms
|
||||
(general-def emms-playlist-mode-map
|
||||
@@ -165,10 +167,12 @@
|
||||
"e" 'er/expand-region
|
||||
"s" 'consult-focus-lines
|
||||
"i" 'consult-imenu
|
||||
"C-i" 'consult-outline
|
||||
"a" 'org-agenda
|
||||
"l" 'org-store-link
|
||||
"k" 'comment-line
|
||||
"v" 'vterm)
|
||||
"v" 'vterm
|
||||
"C-k" 'kmacro-call-macro)
|
||||
|
||||
;; global map
|
||||
(general-def
|
||||
@@ -264,7 +268,7 @@
|
||||
_p_ : prev line _P_ : previous _c_ : edit lines
|
||||
_n_ : next line _N_ : next _._ : pop
|
||||
_b_ : prev word _q_ : quit
|
||||
_f_ : next word
|
||||
_f_ : next word _i_ : insert numbers
|
||||
_B_ : prev symbol
|
||||
_F_ : next symbol
|
||||
_s_ : in region
|
||||
@@ -281,6 +285,7 @@ _a_ : all dwim
|
||||
("a" mc/mark-all-dwim)
|
||||
("s" mc/mark-all-in-region)
|
||||
("c" mc/edit-lines)
|
||||
("i" mc/insert-numbers)
|
||||
("." mc/mark-pop)
|
||||
("q" nil))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user