Emacs w3m 配置

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;              w3m mode
;;;
;;
(add-to-list 'load-path (concat path-prefix "w3m"))
(setq w3m-icon-directory (concat path-prefix "w3m/icons"))
(require 'w3m)

(setq w3m-use-form t)
(setq w3m-tab-width 8)
(setq w3m-use-cookies t)
(setq w3m-use-toolbar t)
(setq w3m-use-mule-ucs t)
(setq w3m-fill-column 120)
(setq w3m-default-display-inline-image t)
(setq w3m-default-toggle-inline-images t)
(setq w3m-home-page "http://www.gogole.com")
(setq browse-url-browser-function 'w3m-browse-url)
(setq w3m-view-this-url-new-session-in-background t)

;; Make this comment if you have no a proper proxy
(setq w3m-command-arguments-alist
      '( ;; Don't use any additional options to visit local web pages.
    ("^http://\\([^/]*\\.\\)*your_internal_website_name\\(/\\|$\\)"
     "-no-proxy")
    ;; Use the proxy server to visit any foreign urls.
    (""
     "-o" "http_proxy=http://your_proxy:80/")))


Emacs-w3m 常用命令
g(w3m-goto-url)
c(w3m-print-current-url)
R(w3m-reload-this-page)
SPCScroll downwards
DELScroll upwards
>(w3m-scroll-left)
<(w3m-scroll-right)
.Shift to the left
,Shift to the right
M-l(w3m-horizontal-recenter)
TABMove the point to the next link
M-TABMove the point to the previous anchor.
]Move the point to the next form.
[Move the point to the previous form.
}Move the point to the next image.
{Move the point to the previous image
B(w3m-view-previous-page)
N(w3m-view-next-page).
H(w3m-gohome)
^parent directory of the page currently displayed
q(w3m-close-window).
Q(w3m-quit)
T(w3m-toggle-inline-images)
I(w3m-view-image)
M-i(w3m-save-image)
M-[(w3m-zoom-out-image)
M-](w3m-zoom-in-image)
s(w3m-history)
a(w3m-bookmark-add-current-url)
M-a(w3m-bookmark-add-this-url)
v(w3m-bookmark-view)
C-k(w3m-bookmark-kill-entry)
E(w3m-bookmark-edit)
C-_(w3m-bookmark-undo)
C-c C-t(w3m-copy-buffer)
C-c C-w(w3m-delete-buffer)
C-c M-w(w3m-delete-other-buffers)
C-c C-p(w3m-previous-buffer)
C-c C-n(w3m-next-buffer)
C-c C-a(w3m-switch-buffer)
C-c C-s(w3m-select-buffer)
d(w3m-download-this-url)
C-c C-c(w3m-submit-form)
C-c C-q(w3m-form- -keymap)
D(w3m-dtree)

转载于:https://www.cnblogs.com/papam/archive/2009/08/26/1554726.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值