Skip to content

Commit

Permalink
feat: add binding for browse-url (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
terlar authored Aug 6, 2024
1 parent 2e437c7 commit ab78565
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion init.org
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,6 @@ Shorten long Git branch names as well as replace Git prefix with a nice icon.
** Navigation
#+begin_src emacs-lisp :tangle yes
(keymap-set goto-map "k" #'eldoc-doc-buffer)
(keymap-set goto-map "u" #'browse-url-at-point)
#+end_src

** Window
Expand Down Expand Up @@ -1801,6 +1800,16 @@ Keep track of bookmarks
(setq bookmark-save-flag 1))
#+end_src

*** browse-url
URL handling.
#+begin_src emacs-lisp :tangle yes
(use-package browse-url
:bind
(:map goto-map
("u" . browse-url-at-point)
("U" . browse-url)))
#+end_src

*** deadgrep
#+begin_src emacs-lisp :tangle yes
(use-package deadgrep
Expand Down

0 comments on commit ab78565

Please sign in to comment.