diff options
author | jao <jao@gnu.org> | 2021-05-21 18:44:25 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-05-21 18:44:25 +0100 |
commit | 2d8b3bee0d4888ed089b53215fbebe21d793242c (patch) | |
tree | 5fbf10acbfead060bf37d52a3e39a631d7efa363 | |
parent | e53a90a657614abdafa6828312d2891b4c89895b (diff) | |
download | elibs-2d8b3bee0d4888ed089b53215fbebe21d793242c.tar.gz elibs-2d8b3bee0d4888ed089b53215fbebe21d793242c.tar.bz2 |
missing eww bits
-rw-r--r-- | eww.org | 6 | ||||
-rw-r--r-- | init.org | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -32,6 +32,12 @@ #+end_src * Opening URLs #+begin_src emacs-lisp + (defun jao-eww-copy-link () + (interactive) + (when-let (lnk (or (car (eww-links-at-point)) (eww-current-url))) + (message "%s" lnk) + (kill-new lnk))) + (defun jao-eww-browse (arg) (interactive "P" eww-mode) (setq eww-prompt-history @@ -1555,6 +1555,8 @@ (,jao--see-exts . jao--see) ("^file://?.+\\.html?$" . ,jao-browse-url-function) ("^file://?" . jao--find-file-other-window) + ("^https?://git\\(hub\\|lab\\)\\.com\\..*" . + ,jao-browse-url-external-function) ("^https?://.*\\.slack\\..*" . ,jao-browse-url-external-function) ("^https?://.*\\.gotomeeting\\.com\\.*" . browse-url-chrome) ("^https?://meet\\.google\\.com\\.*" . ,jao-browse-url-external-function) |