summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-10-18 20:42:04 +0100
committerjao <jao@gnu.org>2021-10-18 20:42:04 +0100
commit091ecbea3f407213115b1f343a86341f6fbeaab0 (patch)
treed6a7766b02d8c4825533e9c833b0bdbce4498ca1
parent1f60e562f8c0ab29a293d85701ab55191c25184b (diff)
downloadelibs-091ecbea3f407213115b1f343a86341f6fbeaab0.tar.gz
elibs-091ecbea3f407213115b1f343a86341f6fbeaab0.tar.bz2
bookmark-view
-rw-r--r--completion.org3
-rw-r--r--init.org12
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