el/dot-emacs.el: Add a useful `w3m' binding to open links in new tabs.
[profile] / el / dot-emacs.el
index dcbaa78..001fa29 100644 (file)
@@ -1012,6 +1012,9 @@ If NEW-SESSION-P, start a new session."
            (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