- 论坛徽章:
- 0
|
![]()
Emacs太酷了,当然用Emacs来上网是一件更酷的事情。
1.安装:sudo aptitude install w3m w3m-img w3m-el
2.编辑~./emacs文件中加入:
; w3m
(autoload 'w3m "w3m" "interface for w3m on emacs" t)
(setq w3m-command-arguments '("-cookie" "-F"))
(setq w3m-use-cookies t)
(setq w3m-home-page "http://www.linuxsir.com/bbs/")
(require 'mime-w3m)
(setq w3m-default-display-inline-image t)
(setq w3m-default-toggle-inline-images t)
;;
(setq w3m-arrived-file-coding-system 'euc-cn)
(setq w3m-bookmark-file-coding-system 'euc-cn)
(setq w3m-default-url-coding-system 'euc-cn)
(setq w3m-output-coding-system 'euc-cn)
(setq w3m-coding-system 'euc-cn)
(setq w3m-input-coding-system 'euc-cn)
(setq w3m-find-coding-system 'euc-cn)
(setq w3m-default-coding-system 'euc-cn)
(setq w3m-coding-system-priority-list '(euc-cn))
(setq
w3m-file-name-coding-s
3.进入emacs,M-x w3m,即可进行浏览;
4.
4、如何使用w3m?
U:浏览一个网址 G:在标签页中打开一个网址左键:返回上一页 N:进入下一页空格:翻页 S:用google进行搜索
5、退出w3m,q键
6.常用命令
g
(w3m-goto-url)
c
(w3m-print-current-url)
R
(w3m-reload-this-page)
SPC
Scroll downwards
DEL
Scroll upwards
>
(w3m-scroll-left)
(w3m-scroll-right)
.
Shift to the left
,
Shift to the right
M-l
(w3m-horizontal-recenter)
TAB
Move the point to the next link
M-TAB
Move 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)
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15586/showart_1137259.html |
|