summaryrefslogtreecommitdiff
path: root/common/locale/en-US/hints.xml
blob: cdbb10054acfe992e173fca4d2f3e14a90f86931 (plain)
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="chrome://dactyl/content/help.xsl"?>

<!DOCTYPE document SYSTEM "chrome://dactyl/content/dactyl.dtd">

<document
    name="hints"
    title="&dactyl.appName; Hints"
    xmlns="&xmlns.dactyl;"
    xmlns:html="&xmlns.html;">
<h1 tag="quick-hints hints">Hints</h1>
<toc start="2"/>

<p>
    Hints are an easy way to interact with web pages without using
    your mouse. In hint mode, &dactyl.appName; highlights and
    numbers all clickable elements. The elements can be selected
    either by typing their numbers, or typing parts of their text to
    narrow them down. While the default action is to click the
    selected link, other actions are available, including saving the
    resulting link, copying its URL, or saving an image. For each
    of these actions, only the set of applicable elements is
    highlighted.
</p>

<item>
    <tags>quick-hints</tags>
    <tags>f QuickHint</tags>
    <strut/>
    <spec>f<a>hint</a></spec>
    <description>
        <p>
            Start <t>QuickHint</t> mode. In this mode, every clickable
            element (as definied by the <o>hinttags</o> option) is
            highlighted and numbered.  Elements can be selected
            either by typing their number, or by typing part of
            their text to narrow down the result. When an element
            has been selected, it is automatically clicked and hint
            mode ends. Additionally, the following keys have
            special meanings in QuickHint mode:
        </p>
        <dl>
            <dt><k name="Return"/></dt>
            <dd>Selects the first highlighted element, or that
                focused by <k name="Tab"/>.</dd>

            <dt><k name="Tab"/></dt>
            <dd>Moves the focus to the next hintable element</dd>

            <dt><k name="Leader"/></dt>
            <dd>Temporarily treats all numbers as ordinary text</dd>

            <dt><k name="Esc"/></dt>
            <dd>Exits hint mode without selecting an element</dd>
        </dl>
    </description>
</item>

<item>
    <tags>F</tags>
    <strut/>
    <spec>F<a>hint</a></spec>
    <description>
        <p>
            Start <t>QuickHint</t> mode, but the selected elements
            are clicked with the <k name="Shift"/> key pressed,
            which has the normal effect of opening it in a new tab
            (depending on the value of the
            <pref>browser.tabs.loadInBackground</pref> preference).
        </p>
    </description>
</item>

<item>
    <tags>extended-hints</tags>
    <tags>; ExtendedHint</tags>
    <strut/>
    <spec>;<a>mode</a><a>hint</a></spec>
    <description>
        <p>
            Start an extended hint mode. <t>ExtendedHint</t> mode is
            exactly like <t>QuickHint</t> mode, except that each
            sub-mode highlights a more specialized set of elements,
            and performs a unique action on the selected link.
            Because of the panoply of extended hint modes available,
            after pressing <k>;</k>, pressing <k name="Tab"/> brings
            up the <k>completion-list</k> with a list of each hint
            mode and its description.
        </p>

        <p><a>mode</a> may be one of:</p>

        <ul>
            <li tag=";;"><em>;</em> to focus a link</li>
            <li tag=";?"><em>?</em> to show information about the element (incomplete)</li>
            <li tag=";s"><em>s</em> to save its destination</li>
            <li tag=";a"><em>a</em> to save its destination (prompting for save location)</li>
            <li tag=";f"><em>f</em> to focus a frame</li>
            <li tag=";o"><em>o</em> to open its location in the current tab</li>
            <li tag=";t"><em>t</em> to open its location in a new tab</li>
            <li tag=";b"><em>b</em> to open its location in a new background tab</li>
            <li tag=";w"><em>w</em> to open its destination in a new window</li>
            <li tag=";O"><em>O</em> to generate an <ex>:open</ex> prompt with hint’s URL</li>
            <li tag=";T"><em>T</em> to generate a <ex>:tabopen</ex> prompt with hint’s URL (like <k>;O</k>)</li>
            <li tag=";W"><em>W</em> to generate a <ex>:winopen</ex> prompt with hint’s URL (like <k>;T</k>)</li>
            <li tag=";S"><em>S</em> to add a search keyword for the hint’s form</li>
            <li tag=";v"><em>v</em> to view its destination source</li>
            <li tag=";V"><em>V</em> to view its destination source in the external editor</li>
            <li tag=";y"><em>y</em> to yank its destination location</li>
            <li tag=";Y"><em>Y</em> to yank its text description</li>
            <li tag=";c"><em>c</em> to open its context menu</li>
            <li tag=";i"><em>i</em> to open an image</li>
            <li tag=";I"><em>I</em> to open an image in a new tab.</li>
        </ul>

        <p>
            Of the previous modes, the value of the <o>hinttags</o>
            option is used to choose the highlighted elements,
            unless an override can be found in
            <o>extendedhinttags</o>.
        </p>
    </description>
</item>

<item>
    <tags>g;</tags>
    <strut/>
    <spec>g;<a>mode</a><a>hint</a></spec>
    <description>
        <p>
            Start an extended hint mode and stay there until
            <k name="Esc"/> is pressed. Like <k>;</k>, except that
            after a hint is selected, hints remain visible so that
            another one can be selected with the same action as the
            first.
        </p>
    </description>
</item>

</document>

<!-- vim:se sts=4 sw=4 et: -->