Config: optimize consult config, change some keybindings and function
This commit is contained in:
@@ -71,11 +71,15 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
|
||||
(interactive)
|
||||
(consult-directory-externally default-directory))
|
||||
|
||||
(defun org-cycle-current-subtree()
|
||||
"Cycle current subtree."
|
||||
(defun org-cycle-parent-subtree()
|
||||
"Cycle parent org subtree."
|
||||
(interactive)
|
||||
(org-back-to-heading)
|
||||
(org-cycle))
|
||||
(if (org-at-heading-p)
|
||||
(progn
|
||||
(org-up-heading 1)
|
||||
(org-cycle))
|
||||
(org-back-to-heading)
|
||||
(org-cycle)))
|
||||
|
||||
(defun consult-org-ripgrep ()
|
||||
"Search in org files use consult-ripgrep."
|
||||
|
||||
Reference in New Issue
Block a user