mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
651 lines
16 KiB
HTML
651 lines
16 KiB
HTML
<!DOCTYPE html>
|
|
<html dir="ltr">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
|
<title>App/UI/Keybindings - XOWA</title>
|
|
<link rel="shortcut icon" href="https://gnosygnu.github.io/xowa/xowa_logo.png" />
|
|
<link rel="stylesheet" href="https://gnosygnu.github.io/xowa/xowa_common.css" type="text/css">
|
|
|
|
</head>
|
|
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
|
|
<div id="mw-page-base" class="noprint"></div>
|
|
<div id="mw-head-base" class="noprint"></div>
|
|
<div id="content" class="mw-body">
|
|
<h1 id="firstHeading" class="firstHeading"><span>App/UI/Keybindings</span></h1>
|
|
<div id="bodyContent" class="mw-body-content">
|
|
<div id="siteSub">From XOWA: the free, open-source, offline wiki application</div>
|
|
<div id="contentSub"></div>
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr">
|
|
|
|
<div id="toc" class="toc">
|
|
<div id="toctitle">
|
|
<h2>
|
|
Contents
|
|
</h2>
|
|
</div>
|
|
<ul>
|
|
<li class="toclevel-1 tocsection-1">
|
|
<a href="#Content-editable"><span class="tocnumber">1</span> <span class="toctext">Content-editable</span></a>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-2">
|
|
<a href="#XOWA_keyboard_shortcuts_.28basic.29"><span class="tocnumber">2</span> <span class="toctext">XOWA keyboard shortcuts (basic)</span></a>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-3">
|
|
<a href="#XOWA_keyboard_shortcuts_.28advanced.29"><span class="tocnumber">3</span> <span class="toctext">XOWA keyboard shortcuts (advanced)</span></a>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-4">
|
|
<a href="#List_of_shortcuts"><span class="tocnumber">4</span> <span class="toctext">List of shortcuts</span></a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<h2>
|
|
<span class="mw-headline" id="Content-editable">Content-editable</span>
|
|
</h2>
|
|
<p>
|
|
XOWA allows keyboard navigation using the content-editable attribute. Note that this is somewhat of a hack and it results in odd UI behavior.
|
|
</p>
|
|
<p>
|
|
Content-editable can be enabled with the following
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
Open the <b>xowa.gfs</b> file
|
|
</li>
|
|
<li>
|
|
Change <code>content_editable_('n')</code> to <code>content_editable_('<span style="color:red;">y</span>')</code>
|
|
</li>
|
|
<li>
|
|
Restart XOWA
|
|
</li>
|
|
</ul>
|
|
<h2>
|
|
<span class="mw-headline" id="XOWA_keyboard_shortcuts_.28basic.29">XOWA keyboard shortcuts (basic)</span>
|
|
</h2>
|
|
<p>
|
|
See <a href="http://xowa.org/home/wiki/Options/Shortcuts.html" id="xolnki_2" title="Options/Shortcuts">Options/Shortcuts</a>
|
|
</p>
|
|
<h2>
|
|
<span class="mw-headline" id="XOWA_keyboard_shortcuts_.28advanced.29">XOWA keyboard shortcuts (advanced)</span>
|
|
</h2>
|
|
<p>
|
|
The <b>xowa.gfs</b> file allows customization of keyboard shortcuts. This section explains the format of the keyboard codes.
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
"mod" is short for modifier
|
|
</li>
|
|
</ul>
|
|
<dl>
|
|
<dd>
|
|
valid values are "a" (alt), "c" (control), and "s" (shift). EX: "mod.a" means "Alt"
|
|
</dd>
|
|
<dd>
|
|
values can be combined. for example, mod.ca means press "Ctrl" and "Alt"
|
|
</dd>
|
|
</dl>
|
|
<ul>
|
|
<li>
|
|
"+" means press at the same time
|
|
</li>
|
|
</ul>
|
|
<dl>
|
|
<dd>
|
|
for example: "mod.a+key.d" means press "Alt" and "D" at the same time
|
|
</dd>
|
|
<dd>
|
|
"+" should only be used for a modifier and a regular key character
|
|
</dd>
|
|
</dl>
|
|
<ul>
|
|
<li>
|
|
"," means press in succession
|
|
</li>
|
|
</ul>
|
|
<dl>
|
|
<dd>
|
|
for example, "mod.c+key.m,mod.c+key.e" means
|
|
<dl>
|
|
<dd>
|
|
first, press "Ctrl" and "M"
|
|
</dd>
|
|
<dd>
|
|
next, press "Ctrl" and "E"
|
|
</dd>
|
|
<dd>
|
|
the command will activate when the last key is pressed
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dd>
|
|
pressing any other key before the last will cancel the chord
|
|
</dd>
|
|
<dd>
|
|
there is no limit to chorded keys, but please use appropriately (i.e.: 5 chorded keystrokes are not recommended).
|
|
</dd>
|
|
</dl>
|
|
<ul>
|
|
<li>
|
|
"|" means alternative
|
|
</li>
|
|
</ul>
|
|
<dl>
|
|
<dd>
|
|
for example, "mod.c+key.q|mod.c+key.x" means press either ctrl+q or ctrl+x
|
|
</dd>
|
|
<dd>
|
|
there is no limit to alternatives, but please do not go beyond 8
|
|
</dd>
|
|
</dl>
|
|
<ul>
|
|
<li>
|
|
"mouse" bindings are possible but to be used with caution as they may not override the default mouse behavior
|
|
</li>
|
|
</ul>
|
|
<dl>
|
|
<dd>
|
|
you are free to experiment, but the results may be unsatisfying
|
|
</dd>
|
|
</dl>
|
|
<ul>
|
|
<li>
|
|
finally, the three sections in the config file will be consolidated into one at a later date. the last section will likely be the ultimate form.
|
|
</li>
|
|
</ul>
|
|
<h2>
|
|
<span class="mw-headline" id="List_of_shortcuts">List of shortcuts</span>
|
|
</h2>
|
|
<table class='wikitable'>
|
|
<tr>
|
|
<th>
|
|
Category
|
|
</th>
|
|
<th>
|
|
Key
|
|
</th>
|
|
<th>
|
|
Description
|
|
</th>
|
|
<th>
|
|
Config file setting
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Application
|
|
</td>
|
|
<td>
|
|
F1
|
|
</td>
|
|
<td>
|
|
Show help
|
|
</td>
|
|
<td>
|
|
page_goto("home/wiki/Help:Contents");
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Application
|
|
</td>
|
|
<td>
|
|
Ctrl+F1
|
|
</td>
|
|
<td>
|
|
Show sandbox
|
|
</td>
|
|
<td>
|
|
eval("xowa_proc_html_tidy_toggle");
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Application
|
|
</td>
|
|
<td>
|
|
Ctrl+Q
|
|
</td>
|
|
<td>
|
|
Exit app
|
|
</td>
|
|
<td>
|
|
app_exit
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Application
|
|
</td>
|
|
<td>
|
|
Ctrl+Shift+H
|
|
</td>
|
|
<td>
|
|
Show page history
|
|
</td>
|
|
<td>
|
|
app_history_show
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Application
|
|
</td>
|
|
<td>
|
|
Ctrl+Shift+R
|
|
</td>
|
|
<td>
|
|
Open random page
|
|
</td>
|
|
<td>
|
|
special_random
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Application
|
|
</td>
|
|
<td>
|
|
F3
|
|
</td>
|
|
<td>
|
|
Show bookmarks
|
|
</td>
|
|
<td>
|
|
page_goto("home/wiki/Data:Bookmarks");
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Application
|
|
</td>
|
|
<td>
|
|
Ctrl+Shift+P
|
|
</td>
|
|
<td>
|
|
Show list of recent status messages(must click inside status bar)
|
|
</td>
|
|
<td>
|
|
prog_box_log();
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Read
|
|
</td>
|
|
<td>
|
|
Ctrl+L
|
|
</td>
|
|
<td>
|
|
Open link (content editable mode)
|
|
</td>
|
|
<td>
|
|
link_click
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Navigation
|
|
</td>
|
|
<td>
|
|
Alt+Left
|
|
</td>
|
|
<td>
|
|
Go back one page
|
|
</td>
|
|
<td>
|
|
history_fwd
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Navigation
|
|
</td>
|
|
<td>
|
|
Alt+Right
|
|
</td>
|
|
<td>
|
|
Go forward one page
|
|
</td>
|
|
<td>
|
|
history_bwd
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Focus
|
|
</td>
|
|
<td>
|
|
Alt+D
|
|
</td>
|
|
<td>
|
|
Focus url box
|
|
</td>
|
|
<td>
|
|
url_box_focus
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Focus
|
|
</td>
|
|
<td>
|
|
Ctrl+F
|
|
</td>
|
|
<td>
|
|
Focus find box
|
|
</td>
|
|
<td>
|
|
find_box_focus
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Focus
|
|
</td>
|
|
<td>
|
|
Ctrl+Alt+P
|
|
</td>
|
|
<td>
|
|
Focus progress box
|
|
</td>
|
|
<td>
|
|
statux_box_focus
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Focus
|
|
</td>
|
|
<td>
|
|
Escape
|
|
</td>
|
|
<td>
|
|
Focus html box
|
|
</td>
|
|
<td>
|
|
wiki_box_focus
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Find
|
|
</td>
|
|
<td>
|
|
Alt+N
|
|
</td>
|
|
<td>
|
|
Find next match
|
|
</td>
|
|
<td>
|
|
find_box_fwd
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Find
|
|
</td>
|
|
<td>
|
|
Alt+P
|
|
</td>
|
|
<td>
|
|
Find previous match
|
|
</td>
|
|
<td>
|
|
find_box_bwd
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Find
|
|
</td>
|
|
<td>
|
|
Alt+C
|
|
</td>
|
|
<td>
|
|
Toggle case sensitivity
|
|
</td>
|
|
<td>
|
|
find_box_case_toggle
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Find
|
|
</td>
|
|
<td>
|
|
Alt+W
|
|
</td>
|
|
<td>
|
|
Toggle wrap search
|
|
</td>
|
|
<td>
|
|
find_box_wrap_toggle
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Page
|
|
</td>
|
|
<td>
|
|
Alt+Shift+R
|
|
</td>
|
|
<td>
|
|
Switch page to read mode
|
|
</td>
|
|
<td>
|
|
page_view_read
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Page
|
|
</td>
|
|
<td>
|
|
Alt+Shift+E
|
|
</td>
|
|
<td>
|
|
Switch page to edit mode
|
|
</td>
|
|
<td>
|
|
page_view_edit
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Page
|
|
</td>
|
|
<td>
|
|
Alt+Shift+H
|
|
</td>
|
|
<td>
|
|
Switch page to html mode
|
|
</td>
|
|
<td>
|
|
page_view_html
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Edit
|
|
</td>
|
|
<td>
|
|
Alt+Shift+Period
|
|
</td>
|
|
<td>
|
|
Preview page
|
|
</td>
|
|
<td>
|
|
page_edit_preview
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Edit
|
|
</td>
|
|
<td>
|
|
Alt+Shift+S
|
|
</td>
|
|
<td>
|
|
Save page and switch to read mode
|
|
</td>
|
|
<td>
|
|
page_edit_save
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Edit
|
|
</td>
|
|
<td>
|
|
Ctrl+S
|
|
</td>
|
|
<td>
|
|
Save page
|
|
</td>
|
|
<td>
|
|
page_edit_save_draft
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Edit
|
|
</td>
|
|
<td>
|
|
Alt+Shift+Comma
|
|
</td>
|
|
<td>
|
|
Focus edit box
|
|
</td>
|
|
<td>
|
|
page_edit_focus__box
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Edit
|
|
</td>
|
|
<td>
|
|
Alt+Shift+Period
|
|
</td>
|
|
<td>
|
|
Focus first heading
|
|
</td>
|
|
<td>
|
|
page_edit_focus_first
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Edit
|
|
</td>
|
|
<td>
|
|
Alt+R
|
|
</td>
|
|
<td>
|
|
Rename page
|
|
</td>
|
|
<td>
|
|
page_edit_rename();
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="mw-head" class="noprint">
|
|
<div id="left-navigation">
|
|
<div id="p-namespaces" class="vectorTabs">
|
|
<h3>Namespaces</h3>
|
|
<ul>
|
|
<li id="ca-nstab-main" class="selected"><span><a id="ca-nstab-main-href" href="index.html">Page</a></span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id='mw-panel' class='noprint'>
|
|
<div id='p-logo'>
|
|
<a style="background-image: url(https://gnosygnu.github.io/xowa/xowa_logo.png);" href="http://xowa.org/" title="Visit the main page"></a>
|
|
</div>
|
|
<div class="portal" id='xowa-portal-home'>
|
|
<h3>XOWA</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://xowa.org/index.html" title='Visit the main page'>Main page</a></li>
|
|
<li><a href="http://xowa.org/screenshots.html" title='See screenshots of XOWA'>Screenshots</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Help/Download_XOWA.html" title='Download the XOWA application'>Download XOWA</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Dashboard/Image_databases.html" title='Download offline wikis and image databases'>Download wikis</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-started'>
|
|
<h3>Getting started</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://xowa.org/home/wiki/App/Setup/System_requirements.html" title='Get XOWA's system requirements'>Requirements</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/App/Setup/Installation.html" title='Get instructions for installing XOWA'>Installation</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/App/Import/Simple_Wikipedia.html" title='Learn how to set up Simple Wikipedia'>Simple Wikipedia</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/App/Import/English_Wikipedia.html" title='Learn how to set up English Wikipedia'>English Wikipedia</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/App/Import/Other_wikis.html" title='Learn how to set up other Wikipedias'>Other Wikipedias</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-android'>
|
|
<h3>Android</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://xowa.org/home/wiki/Android/Setup.html" title='Setup XOWA on your Android device'>Setup</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-help'>
|
|
<h3>Help</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://xowa.org/home/wiki/Help/About.html" title='Get more information about XOWA'>About</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Help/Contents.html" title='View a list of help topics'>Contents</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Help/Media.html" title='Read what others have written about XOWA'>Media</a></li>
|
|
<li><a href="http://xowa.org/home/wiki/Help/Feedback.html" title='Questions? Comments? Leave feedback for XOWA'>Feedback</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-blog'>
|
|
<h3>Blog</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://xowa.org/home/wiki/Blog.html" title='Follow XOWA''s development process'>Current</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-links'>
|
|
<h3>Links</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="http://dumps.wikimedia.org/backup-index.html" title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
|
|
<li><a href="https://archive.org/search.php?query=xowa" title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
|
|
<li><a href="http://en.wikipedia.org" title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="portal" id='xowa-portal-donate'>
|
|
<h3>Donate</h3>
|
|
<div class="body">
|
|
<ul>
|
|
<li><a href="https://archive.org/donate/index.php" title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->
|
|
<li><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector" title="Support Wikipedia!">Wikipedia</a></li>
|
|
<!-- <li><a href="" title="Support XOWA! (but only after you've supported archive.org and Wikipedia)">XOWA</a></li> -->
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html> |