about summary refs log tree commit diff stats
path: root/res/chawan.html
blob: 9251f221280cbcae85a1c53216dc9989942901d9 (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
<!DOCTYPE html>
<head>
<title>Chawan Browser 0.1</title>
<style>
h1 {
	margin-top: 0
}
.logo {
	position: absolute;
	bottom: 0;
	right: 0;
}
@media (max-width: 90ch) {
.logo {
	display: none;
}
}
</style>
</head>
<body>
<center><h1>Welcome to Chawan!</h1></center>
<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: C-{key}
means control + key, M-{key} means meta + key. Depending on your environment,
the meta key may be called Alt or Escape.)
<ul>
<li><b>q</b>: quit the browser
<li><b>hjkl, arrow keys</b>: move the cursor
<li><b>J</b>, <b>K</b> (or <b>C-e</b>, <b>C-y)</b>: scroll up/down by one row
<li><b>C-l</b>: location bar (to enter a URL, etc.)
<li><b>U</b>: reload page
<li><b>,</b> (comma), <b>.</b> (period): previous/next buffer
<li><b>D</b>: discard current buffer
<li><b>M-y</b>: copy current buffer's URL to clipboard (needs xsel)
<li><b>M-p</b>: go to the URL currently on the clipboard (needs xsel)
<li><b>[</b>, <b>]</b>: move cursor to the previous/next hyperlink
<li><b>C-d</b>, <b>C-u</b>: scroll up/down by half a page
<li><b>C-f</b>, <b>C-b</b> (or <b>PgDn</b>, <b>PgUp</b>)</b>: scroll up/down by an entire page
<li><b>(, ) (or <b>zh</b>, <b>zl</b>): shift screen to the left/right by one cell
<li><b>&lt;, &gt;</b>: shift screen to the left/right by one page
<li><b>/</b>, <b>?</b>: search (or search backwards)
<li><b>n, N</b>: next/previous match
<li><b>C-z</b>: suspend the browser
<li><b>M-C-c</b>: cancel loading
<li><b>H</b>, <b>M</b>, <b>L</b>: move cursor to the Highest/Middle/Lowest rows
<li><b>zz, z.</b>: center on current line (and move to beginning)
<li><b>zt, z-</b>: center on current line (and move to beginning)
<li><b>zb, zC-m</b>: center on current line (and move to beginning)
<li><b>w</b>, <b>b</b>: move cursor to next/previous word
<li><b>v</b>: toggle page source view
<li><b>0</b>: cursor to first cell on line
<li><b>^</b>: cursor to first non-whitespace on line
<li><b>$</b>: cursor to last character on line
<li><b>M-,</b>/<b>M-.</b>: previous/next sibling buffer
<li><b>M-/</b>: parent buffer
<li>{number}, then movement: repeat movement n times<br>
(or move to nth line, depending on command)
<li><b>M-c</b>: input command
<li><b>M-cM-c</b>: command mode (browser console)
</ul>
<p>
Happy browsing!
<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>
</body>