From 091ecbea3f407213115b1f343a86341f6fbeaab0 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 18 Oct 2021 20:42:04 +0100 Subject: bookmark-view --- completion.org | 3 +-- init.org | 12 +++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/completion.org b/completion.org index 8ce617f..eb58943 100644 --- a/completion.org +++ b/completion.org @@ -102,7 +102,6 @@ ("C-x b" . consult-buffer) ("C-x C-b" . consult-buffer) ("C-c b" . project-find-file) - ("C-c B" . bookmark-set) ("C-c h" . consult-history) ("C-c i" . consult-imenu) ("C-c I" . consult-project-imenu) @@ -333,7 +332,7 @@ (defun jao-embark-targets--org-link () (when (derived-mode-p 'org-mode) (when (org-in-regexp org-link-bracket-re) - (let ((lnk (match-string-no-properties 2))) + (let ((lnk (match-string-no-properties 1))) (if (string-match-p "https?://.+" (or lnk "")) (cons 'url lnk) (cons 'org-link (match-string-no-properties 0))))))) diff --git a/init.org b/init.org index 0977d8a..cdde312 100644 --- a/init.org +++ b/init.org @@ -408,10 +408,16 @@ (setq help-window-select t) #+end_src *** Bookmarks - #+BEGIN_SRC emacs-lisp + #+begin_src emacs-lisp (setq bookmark-default-file "~/.emacs.d/emacs.bmk" - bookmark-fontify nil) - #+END_SRC + bookmark-set-fringe-mark nil) + + (use-package bookmark-view + :ensure t + :bind (("C-c v" . bookmark-view) + ("C-c B" . bookmark-set))) + + #+end_src *** Man pages #+begin_src emacs-lisp (setq Man-notify-method 'aggressive) ;; pushy - same window -- cgit v1.2.3