From 58f534736f9ce24f82d060f476893f4f8855700b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 20 Sep 2020 16:59:41 +0200 Subject: Riced emacs-w3m keybindings --- .emacs.d/org/config.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.emacs.d/org/config.org b/.emacs.d/org/config.org index 889f1c4..c4f7229 100644 --- a/.emacs.d/org/config.org +++ b/.emacs.d/org/config.org @@ -390,6 +390,22 @@ (require 'w3m-load) (setq w3m-home-page "https://start.duckduckgo.com/") (setq w3m-default-display-inline-images t) +(define-key w3m-mode-map "w" 'right-word) +(define-key w3m-mode-map "b" 'left-word) +(define-key w3m-mode-map "<" 'scroll-left) +(define-key w3m-mode-map ">" 'scroll-right) +(define-key w3m-mode-map (kbd "C-d") 'evil-scroll-page-down) +(define-key w3m-mode-map (kbd "C-u") 'evil-scroll-page-up) +(define-key w3m-mode-map "H" 'w3m-view-previous-page) +(define-key w3m-mode-map "L" 'w3m-view-next-page) +(define-key w3m-mode-map "o" 'w3m-goto-url) +(define-key w3m-mode-map "O" 'w3m-goto-url-new-session) +(define-key w3m-mode-map "v" 'w3m-view-image) +(define-key w3m-mode-map "$" 'w3m-end-of-line) +(define-key w3m-mode-map "^" 'w3m-beginning-of-line) +(define-key w3m-mode-map (kbd "M-j") 'w3m-next-buffer) +(define-key w3m-mode-map (kbd "M-k") 'w3m-previous-buffer) +(define-key w3m-mode-map "t" 'w3m-copy-buffer) #+END_SRC *** NeoTree -- cgit v1.2.3