diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-11-28 20:04:26 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-11-28 20:04:26 -0700 |
commit | 34b7ed7eb0d4c0ad62ba90f623ecf35d3df6cbd8 (patch) | |
tree | cf634e4d8c55fb187e9379fdf3004968cc6be7ff /docs/keybindings.html | |
parent | 620ead5cf60a446a2f7dc4e136d8cee895ea51df (diff) |
added a keybinding cheat sheet
Diffstat (limited to 'docs/keybindings.html')
-rw-r--r-- | docs/keybindings.html | 222 |
1 files changed, 222 insertions, 0 deletions
diff --git a/docs/keybindings.html b/docs/keybindings.html new file mode 100644 index 0000000..73c75e1 --- /dev/null +++ b/docs/keybindings.html @@ -0,0 +1,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>f</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><Page_Up></dt> + <dt><Ctrl>f</dt> + <dd>Page up</dd> + + <dt><Page_Down></dt> + <dt><Ctrl>b</dt> + <dd>Page down</dd> + + <dt><<</dt> + <dt><Home></dt> + <dd>Scroll to top</dd> + + <dt>>></dt> + <dt><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><Ctrl>i</dt> + <dt>i</dt> + <dd>Switch to insert mode</dd> + + <dt><Escape></dt> + <dt><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"><Shift><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"><Ctrl><Mod1>t</dt> + <dd>Open a terminal that prints events and can issue commands to uzbl</dd> + </dl> +</section> |