From beb176bfe835e7addfd1302a8c342af40114e36f Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sat, 28 Oct 2023 21:46:28 +1100 Subject: [emacs] Some tweaks - small fixes - which func headline should apply to js mode too - magit-diff mode no truncate lines - w3m keybindings --- emacs/.emacs.d/init/ycp-web.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'emacs/.emacs.d/init/ycp-web.el') diff --git a/emacs/.emacs.d/init/ycp-web.el b/emacs/.emacs.d/init/ycp-web.el index bd6ca93..a81c2b0 100644 --- a/emacs/.emacs.d/init/ycp-web.el +++ b/emacs/.emacs.d/init/ycp-web.el @@ -189,4 +189,17 @@ (:delay 60) (my-setq-from-local my-scihub-host)) +(my-package w3m + (:delay 60) + (my-keybind w3m-mode-map + "o" #'w3m-browse-url + "n" #'scroll-up-line + "p" #'scroll-down-line + "w" #'w3m-print-this-url + "l" #'w3m-view-previous-page + "r" #'w3m-view-next-page + "g" #'w3m-reload-this-page + ) + (require 'w3m-load)) + (provide 'ycp-web) -- cgit v1.2.3