From f196d6e808066da15ffbe3c56a103ad2895ac95e Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Mon, 17 Jun 2024 16:20:42 +0200 Subject: [PATCH] Show bookmarks before important files I access bookmarks far more often than the list of local important files, so let's skip the usual `C-o` hazzle and have bookmarks right under point when available. --- init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index e5b8387..c93c28e 100644 --- a/init.el +++ b/init.el @@ -2266,6 +2266,8 @@ eventuelly be set to nil, however)." ;; Taken from `helm-buffers-list' (helm-make-source "Buffers" 'helm-source-buffers) + helm-source-bookmarks + ;; If no prefix arg is given, extract files from ;; `db/important-documents-path’ and list them as well (when (and (not arg) @@ -2280,9 +2282,7 @@ eventuelly be set to nil, however)." file)) (directory-files-recursively search-path "")) :action '(("Open externally" . db/system-open) - ("Find file" . find-file))))) - - helm-source-bookmarks))) + ("Find file" . find-file)))))))) (use-package ace-window :ensure t