about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-09-20 22:14:52 +0200
committerbptato <nincsnevem662@gmail.com>2023-09-20 22:14:52 +0200
commit8aadf052e58643b2003a7e0faedbfcbc27b2f8c9 (patch)
treeb2dd7101d81f7d02dcb79c6a9caf0049cd561a55 /res
parent2099fb40fbff45b93df85ef29e3951ce17b68d21 (diff)
downloadchawan-8aadf052e58643b2003a7e0faedbfcbc27b2f8c9.tar.gz
improve about:chawan page
Diffstat (limited to 'res')
-rw-r--r--res/chawan.html77
1 files changed, 60 insertions, 17 deletions
diff --git a/res/chawan.html b/res/chawan.html
index 7b022f9a..c2ba5b61 100644
--- a/res/chawan.html
+++ b/res/chawan.html
@@ -1,21 +1,64 @@
 <!DOCTYPE html>
 <head>
-	<title>Chawan Browser 0.1</title>
-	<style>
-	.u {
-		text-decoration: underline;
-	}
-	.logo {
-		position: absolute;
-		bottom: 0;
-		right: 0;
-	}
-	</style>
+<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>
-	This is the default visual home page. You might want to change it in
-	your configuration file.
+<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>[</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>(, )</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>z</b>: center on current column
+<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 (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
@@ -23,9 +66,9 @@ I!www~www~www~www~www~www!ds
 lCHCHCHCHCHCHCHCHCHCHCHCHCp
  kCHCHCHCHCHCHCHCHCHCHCHCp
   sAAAAAAAAAAAAAAAAAAAAAp
-   l<span class=u>S</span>WWWWWWWWWWWWWWWWW<span class=u>Z</span>i
+   l<u>S</u>WWWWWWWWWWWWWWWWW<u>Z</u>i
      lSAAAAAAAAAAAAAZ/
-       \<span class=u>ZM</span>NNNNNNN<span class=u>MZ</span>/
-          \<span class=u>HHHHH</span>/
+       \<u>ZM</u>NNNNNNN<u>MZ</u>/
+          \<u>HHHHH</u>/
 </pre>
 </body>