diff options
author | Yuchen Pei <id@ypei.org> | 2023-10-28 21:46:28 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-10-28 21:46:28 +1100 |
commit | beb176bfe835e7addfd1302a8c342af40114e36f (patch) | |
tree | 551acaa795f1b77c278e46056fc7ee8b7fb6fb7b /emacs/.emacs.d/init/ycp-web.el | |
parent | c846b2cea042ac3666d340305f46325cde68d674 (diff) |
[emacs] Some tweaks
- small fixes
- which func headline should apply to js mode too
- magit-diff mode no truncate lines
- w3m keybindings
Diffstat (limited to 'emacs/.emacs.d/init/ycp-web.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-web.el | 13 |
1 files changed, 13 insertions, 0 deletions
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) |