(Emacs/config)+argument to restrict search-headings to only first level
This commit is contained in:
@@ -1237,7 +1237,9 @@ Some bindings for org mode.
|
|||||||
"Searches USER-EMACS-DIRECTORY for org headings via counsel-rg"
|
"Searches USER-EMACS-DIRECTORY for org headings via counsel-rg"
|
||||||
(interactive)
|
(interactive)
|
||||||
(counsel-rg "^\\* "
|
(counsel-rg "^\\* "
|
||||||
(cl-subseq user-emacs-directory 0 (- (length user-emacs-directory) 1))))
|
(substring user-emacs-directory 0
|
||||||
|
(- (length user-emacs-directory) 1))
|
||||||
|
"--max-depth=1"))
|
||||||
:general
|
:general
|
||||||
(file-leader
|
(file-leader
|
||||||
"l" #'org-store-link
|
"l" #'org-store-link
|
||||||
|
|||||||
Reference in New Issue
Block a user