diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-18 15:41:23 +0630 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-18 15:41:23 +0630 |
commit | fe2fd08cfb88eecb221da0e9397e7833402cbe61 (patch) | |
tree | bca67c240147e79cebfda37968ae7c836296e885 /Emacs/.config/emacs/config.org | |
parent | 04e8375a21fd4a0395177e178f3a1163a7f6edc1 (diff) | |
download | dotfiles-fe2fd08cfb88eecb221da0e9397e7833402cbe61.tar.gz dotfiles-fe2fd08cfb88eecb221da0e9397e7833402cbe61.tar.bz2 dotfiles-fe2fd08cfb88eecb221da0e9397e7833402cbe61.zip |
(Emacs/config)+argument to restrict search-headings to only first level
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r-- | Emacs/.config/emacs/config.org | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index f6c7697..9219e66 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1237,7 +1237,9 @@ Some bindings for org mode. "Searches USER-EMACS-DIRECTORY for org headings via counsel-rg" (interactive) (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 (file-leader "l" #'org-store-link |