chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
20b6cd6
)
el/dot-emacs.el: Add a useful `w3m' binding to open links in new tabs.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 20 May 2018 19:21:38 +0000
(20:21 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 20 May 2018 19:21:38 +0000
(20:21 +0100)
There are bindings for this, but they're awful.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index dcbaa78ee755171d16b10f11f585b869bc1330bc..001fa2947f96129ee1ec14f238fa220b015ae338 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-1012,6
+1012,9
@@
(defun mdw-w3m-browse-url (url &optional new-session-p)
(w3m-browse-url url new-session-p))
(select-window window)))))
+(eval-after-load 'w3m
+ '(define-key w3m-mode-map [?\e ?\r] 'w3m-view-this-url-new-session))
+
(defvar mdw-good-url-browsers
'(browse-url-chromium
browse-url-mozilla