From 2ae8f8e32611d1f581ce8792585f471bb4752c22 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 20 May 2018 20:21:38 +0100 Subject: [PATCH] el/dot-emacs.el: Add a useful `w3m' binding to open links in new tabs. There are bindings for this, but they're awful. --- el/dot-emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index dcbaa78..001fa29 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -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 -- 2.11.0