about summary refs log tree commit diff stats
path: root/res/chawan.html
blob: 271e3e6ba6bed63ccb0fade2ce21a57573f51e53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<head>
<title>Chawan Browser 0.1</title>
<style>
h1 {
	margin-top: 0
}
.logo {
	float: right;
	margin: 0em 2ch;
}
@media (max-width: 80ch) {
.logo {
	display: none;
}
}
kbd {
	font-weight: bold;
	word-break: keep-all;
}
</style>
</head>
<body>
<center><h1>Welcome to Chawan!</h1></center>
<pre class=logo>
 _......................._
fr.,~.~,,~~.~~~,~,~~~~,,.bl
I!www~www~www~www~www~www!ds
lCHCHCHCHCHCHCHCHCHCHCHCHCp
 kCHCHCHCHCHCHCHCHCHCHCHCp
  sAAAAAAAAAAAAAAAAAAAAAp
   l<u>S</u>WWWWWWWWWWWWWWWWW<u>Z</u>i
     lSAAAAAAAAAAAAAZ/
       \<u>ZM</u>NNNNNNN<u>MZ</u>/
          \<u>HHHHH</u>/
</pre>
<p>
This is the default visual home page. You can change it in your configuration
file using the <code>start.visual-mode</code> option.
<p>
Following is a list of default keybindings for getting started. (Note:
<kbd>C-{key}</kbd> means <kbd>Control</kbd> + <kbd>key</kbd>,
<kbd>M-{key}</kbd> means <kbd>Meta</kbd> + <kbd>key</kbd>. Depending
on your environment, the <kbd>Meta</kbd> key may be called <kbd>Alt</kbd> or
<kbd>Escape</kbd>.)
<ul>
<li><kbd>q</kbd>: quit the browser
<li><kbd>hjkl</kbd>, <kbd>Arrow keys</kbd>: move the cursor
<li><kbd>J</kbd>, <kbd>K</kbd> (or <kbd>C-e</kbd>, <kbd>C-y)</kbd>: scroll
up/down by one row
<li><kbd>C-l</kbd>: location bar (to enter a URL, etc.)
<li><kbd>C-k</kbd>: web search
<li><kbd>v</kbd>, <kbd>V</kbd>, <kbd>C-v</kbd>: select (normal), select
(line), select (block)
<li><kbd>y</kbd>: yank (copy) current selection to system clipboard (needs xsel)
<li><kbd>U</kbd>: reload page
<li><kbd>,</kbd> (comma), <kbd>.</kbd> (period): previous/next buffer
<li><kbd>D</kbd>: discard current buffer
<li><kbd>M-y</kbd>: copy current buffer's URL to clipboard (needs xsel)
<li><kbd>M-p</kbd>: go to the URL currently on the clipboard (needs xsel)
<li><kbd>[</kbd>, <kbd>]</kbd>: move cursor to the previous/next hyperlink
<li><kbd>C-d</kbd>, <kbd>C-u</kbd>: scroll up/down by half a page
<li><kbd>C-f</kbd>, <kbd>C-b</kbd> (or <kbd>PgDn</kbd>, <kbd>PgUp</kbd>)</kbd>:
scroll up/down by an entire page
<li><kbd>(</kbd>, <kbd>)</kbd> (or <kbd>zh</kbd>, <kbd>zl</kbd>): shift
screen to the left/right by one cell
<li><kbd>&lt;</kbd>, <kbd>&gt;</kbd>: shift screen to the left/right by one page
<li><kbd>/</kbd>, <kbd>?</kbd>: on-page search (or search backwards)
<li><kbd>n</kbd>, <kbd>N</kbd>: next/previous match
<li><kbd>C-z</kbd>: suspend the browser
<li><kbd>M-C-c</kbd>: cancel loading
<li><kbd>H</kbd>, <kbd>M</kbd>, <kbd>L</kbd>: move cursor to the
Highest/Middle/Lowest rows
<li><kbd>zz</kbd>, <kbd>z.</kbd>: center on current line (and move to
beginning)
<li><kbd>zt</kbd>, <kbd>z-</kbd>: center on current line (and move to
beginning)
<li><kbd>zb</kbd>, <kbd>zC-m</kbd>: center on current line (and move to
beginning)
<li><kbd>w</kbd>, <kbd>b</kbd>: move cursor to next/previous word
<li><kbd>\</kbd>: toggle page source view
<li><kbd>0</kbd>: cursor to first cell on line
<li><kbd>^</kbd>: cursor to first non-whitespace on line
<li><kbd>$</kbd>: cursor to last character on line
<li><kbd>M-,</kbd>/<kbd>M-.</kbd>: previous/next sibling buffer
<li><kbd>M-/</kbd>: parent buffer
<li><kbd>{number}</kbd>, then movement: repeat movement n times<br>
(or move to nth line, depending on command)
<li><kbd>M-c</kbd>: input command
<li><kbd>M-cM-c</kbd>: command mode (browser console)
</ul>
<p>
Happy browsing!
</body>