1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 10:05:45 +01:00

Give up and add key chains to 'passkeys'. Also add <A-b> to execute a builtin mapping. Closes issue #189.

This commit is contained in:
Kris Maglione
2011-02-19 17:32:55 -05:00
parent 019504e11c
commit 1dcbf88509
6 changed files with 80 additions and 30 deletions

View File

@@ -20,21 +20,19 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
&dactyl.host; or to a web page, you have two options:
<item>
<tags><![CDATA[pass-through <pass-all-keys> <C-z> CTRL-Z]]></tags>
<spec>&lt;C-z></spec>
<tags><![CDATA[<A-b>]]></tags>
<spec><![CDATA[<A-b>]]></spec>
<description>
<p>
Pass all keys except for <k name="Esc"/> directly to
&dactyl.host;. When <k name="Esc"/> is pressed,
resume normal key handling. This is especially useful
for web sites which make heavy use of key bindings.
Process the next key as a builtin mapping, ignoring any user defined
mappings and <o>passkeys</o> settings.
</p>
</description>
</item>
<item>
<tags><![CDATA[send-key <pass-next-key> <C-v> CTRL-V]]></tags>
<spec>&lt;C-v></spec>
<spec><![CDATA[<C-v>]]></spec>
<description>
<p>
Pass the next key press directly to &dactyl.host;.
@@ -42,6 +40,19 @@ want to bypass &dactyl.appName;'s key handling and pass keys directly to
</description>
</item>
<item>
<tags><![CDATA[pass-through <pass-all-keys> <C-z> CTRL-Z]]></tags>
<spec><![CDATA[<C-z>]]></spec>
<description>
<p>
Pass all keys except for <k name="Esc"/> directly to
&dactyl.host;. When <k name="Esc"/> is pressed,
resume normal key handling. This is especially useful
for web sites which make heavy use of key bindings.
</p>
</description>
</item>
<h2 tag="opening">Opening web pages</h2>
<item>

View File

@@ -1122,9 +1122,12 @@
For any page with a URL matching a given regexp, all key
events for keys listed in that regexp's value are passed
through directly to &dactyl.host;, and are not processed
by &dactyl.appName; in any way.
by &dactyl.appName; in any way. Key names are separated
by commas, where the first key name is treated as a list
of individual keys and each subsequent key is treated as
a key chain.
</p>
<example><set opt="passkeys" op="+="><str delim="'">https://mail\.google\.com/</str>:<str delim="">jk<k name="Return"/></str></set></example>
<example><set opt="passkeys" op="+="><str delim="">mail.google.com</str>:<str delim="">jk&lt;Return></str>,<str delim="">gi</str></set></example>
</description>
</item>