aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/keybindings.html
blob: f3acc6651af22d9ad655a02e604e5ed442c3f4a2 (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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<title>Uzbl Keybindings</title>

<style type="text/css">
  body {
    max-width: 40em;
    margin:    0 auto;
  }

  body > h1 {
    text-align: center;
  }

  body > section > h1 {
    padding-left: 2em;
  }

  dl {
    padding-left: 5em;
  }

  dt {
    float:       left;
    clear:       left;

    padding:     0 0.5em;

    font-family: monospace;
    font-weight: bold;
    color:       #444;

    background:  #ccc;
    border:      1px solid #999;
  }

  dt.long {
    display: inline-block;
    float: none;
  }

  dt + dt {
    display: inline-block;
    float: none;
    margin-left: 0.2em;
  }

  dt, dd {
    margin-bottom: 1ex;
  }
</style>

<h1>Uzbl Keybindings</h1>

<p>These keybindings are totally customizable. You can edit
<code>$XDG_CONFIG_HOME/uzbl/config</code> to modify them or add more.</p>

<section>
  <h1>Navigating the Web</h1>

  <dl>
    <dt>o</dt>
    <dd>Open a URL</dd>

    <dt>O</dt>
    <dd>Edit the current URL</dd>

    <dt>S</dt>
    <dd>Stop loading</dd>

    <dt>b</dt>
    <dd>Go back</dd>

    <dt>m</dt>
    <dd>Go forward</dd>

    <dt>U</dt>
    <dd>Search the history</dd>

    <dt>r</dt>
    <dd>Reload the current page</dd>

    <dt>fl</dt>
    <dd>Select a link or form element using the keyboard</dd>

    <dt>Fl</dt>
    <dd>Select a link to open in a new window using the keyboard</dd>

    <dt>w</dt>
    <dd>Open a new window</dd>

    <dt>c</dt>
    <dd>Clone the current window</dd>
  </dl>
</section>

<section>
  <h1>Navigating the Page</h1>

  <dl>
    <dt>j</dt>
    <dd>Scroll down</dd>

    <dt>k</dt>
    <dd>Scroll up</dd>

    <dt>h</dt>
    <dd>Scroll left</dd>

    <dt>l</dt>
    <dd>Scroll right</dd>

    <dt>&lt;Page_Up></dt>
    <dt>&lt;Ctrl>f</dt>
    <dd>Page up</dd>

    <dt>&lt;Page_Down></dt>
    <dt>&lt;Ctrl>b</dt>
    <dd>Page down</dd>

    <dt>&lt;&lt;</dt>
    <dt>&lt;Home></dt>
    <dd>Scroll to top</dd>

    <dt>&gt;&gt;</dt>
    <dt>&lt;End></dt>
    <dd>Scroll to bottom</dd>

    <dt>/</dt>
    <dd>Search the current page</dd>

    <dt>?</dt>
    <dd>Search the current page in reverse</dd>

    <dt>n</dt>
    <dd>Next search result</dd>

    <dt>n</dt>
    <dd>Previous search result</dd>
  </dl>
</section>

<section>
  <h1>Modes</h1>

  <p>Uzbl's default configuration is modal (although a completely modeless
  configuration should be possible).</p>

  <p>In "command" mode, everything you type is interpreted by uzbl as a
  command.</p>

  <p>In "insert" mode, everything you type is passed to the web page, for
  form input or the web page's keybindings.</p>

  <dl>
    <dt>&lt;Ctrl>i</dt>
    <dt>i</dt>
    <dd>Switch to insert mode</dd>

    <dt>&lt;Escape></dt>
    <dt>&lt;Ctrl>[</dt>
    <dd>Return to command mode</dd>
    <dd>Clear the current command</dd>
  </dl>
</section>

<section>
  <h1>uzbl-tabbed</h1>

  <p>TODO: Write me.</p>
</section>

<section>
  <h1>Clipboard</h1>

  <p>The terminology here is a bit confusing, please look at
  <a href="http://en.wikipedia.org/wiki/X_Window_selection">this article</a>
  if you're not familiar with X selections.</p>

  <p>For these commands to work, <code>xclip</code> must be installed.</p>

  <dl>
    <dt>yu</dt>
    <dd>Copy the current URL to the primary selection</dd>

    <dt>yU</dt>
    <dd>Copy the URL of the hovered link to the primary selection</dd>

    <dt>yy</dt>
    <dd>Copy the page title to the primary selection</dd>

    <dt>p</dt>
    <dd>Go to the URL in the primary selection</dd>

    <dt>P</dt>
    <dd>Go to the URL in the clipboard selection</dd>

    <dt>'p</dt>
    <dd>Open the URL in the primary selection in a new window</dd>

    <dt class="long">&lt;Shift>&lt;Insert></dt>
    <dd>Command mode: Paste the primary selection into the status bar</dd>
    <dd>Insert mode:  Paste the primary selection into the active form
    element.</dd>
  </dl>
</section>

<section>
  <h1>Advanced Commands</h1>

  <dl>
    <dt>s</dt>
    <dd>Set a variable</dd>

    <dt>:</dt>
    <dd>Issue an uzbl command</dd>

    <dt class="long">!reload</dt>
    <dd>Reload configuration file</dd>

    <dt class="long">&lt;Ctrl>&lt;Mod1>t</dt>
    <dd>Open a terminal that prints events and can issue commands to uzbl</dd>
  </dl>
</section>