haiku/docs/userguide/keyboard-shortcuts.html

123 lines
7.4 KiB
HTML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"../welcome/html-dtd/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<!--
*
* Copyright 2008, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Humdinger <humdingerb@gmail.com>
*
-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="robots" content="all" />
<title>Shortcuts and key combinations</title>
<link rel="stylesheet" type="text/css" href="../welcome/welcome.css" />
</head>
<body>
<div class="logo">
<img src="../welcome/welcome-images/logo.png" alt="logo" width="372" height="86" />
<div class="title">Shortcuts and key combinations</div>
</div>
<div class="topnav">
<p>
<a href="contents.html">Contents</a>
&#160;&#160;&#160;
Previous: <a href="tracker-add-ons.html">Tracker Add-Ons</a>
&#160;&#160;&#160;
Next: <a href="deskbar.html">Deskbar</a>
</p>
</div>
<div class="content">
<p>By default, Haiku's option key, to invoke commands from menus for example, is not the usual <tt>CTRL</tt> key, but <tt>ALT</tt> instead. This has historical reasons, because the BeOS was inspired somewhat by MacOS. After you get used to it, it actually feels better as e.g. <tt>ALT+C</tt> and <tt>ALT+V</tt> is reached more conveniently on the keyboard and these commands seamlessly integrate into the <acronym title="Bourne Again Shell">bash</acronym> shell of the Terminal, where <tt>CTRL+C</tt> quits the running process.</p>
<p>In any case, you can switch to the maybe more familiar <tt>CTRL</tt> key in the <a href="prefs-menu.html">Menu</a> preferences. The user guide will always describes the default configuration with option key being <tt>ALT</tt>.</p>
<h2><a id="general" name="general">General shortcuts</a></h2>
<p>Here's a table of many of the most commonly used shortcuts that are always available, even if there isn't a corresponding menu:</p>
<table summary="shortcuts" border="0" cellspacing="0" cellpadding="4">
<tr><td><tt>ALT+Fx</tt></td><td style="width:15px;"></td><td>Switches to <a href="workspaces.html">Workspace</a> X (<tt>Fx</tt> is the function key corresponding to that workspace).</td></tr>
<tr><td><tt>CTRL+TAB</tt></td><td></td><td>Hold down to bring up the <a href="twitcher.hml">Twitcher</a>.</td></tr>
<tr><td><tt>CTRL+ALT+DEL</tt></td><td></td><td>Opens the <a href="teammonitor.html">Team Monitor</a>.</td></tr>
<tr><td><tt>ALT+ESC</tt></td><td></td><td>Enters the menu bar (leave with <tt>ESC</tt>).</td></tr>
<tr><td><tt>ALT+C</tt></td><td></td><td>Copies selection to clipboard.</td></tr>
<tr><td><tt>ALT+X</tt></td><td></td><td>Cuts selection to clipboard.</td></tr>
<tr><td><tt>ALT+V</tt></td><td></td><td>Pastes the clipboard's contents.</td></tr>
<tr><td><tt>ALT+W</tt></td><td></td><td>Closes the current window.</td></tr>
<tr><td><tt>ALT+Q</tt></td><td></td><td>Closes the whole application.</td></tr>
</table>
<h2><a id="tracker-navigation" name="tracker-navigation">Shortcuts for Tracker navigation</a></h2>
<p>Additionally to the general shortcuts, here are more for navigating with Tracker:</p>
<table summary="shortcuts" border="0" cellspacing="0" cellpadding="4">
<tr><td><tt>ALT+CURSOR UP</tt></td><td style="width:15px;"></td><td>Opens the parent folder.</td></tr>
<tr><td class="onelinetop"><tt>ALT+CURSOR DOWN or RETURN</tt></td><td></td><td>Opens the selected folder.</td></tr>
<tr><td><tt>WIN-KEY</tt></td><td></td><td>Holding it while opening a folder will automatically close the parent folder. This also works when navigating with the mouse.</td></tr>
<tr><td><tt>right MENU-KEY</tt></td><td></td><td>Opens the Deskbar menu (leave with <tt>ESC</tt>)</td></tr>
<tr><td><tt>ALT+Z</tt></td><td></td><td>Undo last action. The undo history is only limited by the available memory. Note, that this only works for actions on the file itself, changed attributes and permission settings can't be undone. Also, once a file is removed from <i>Trash</i> it's gone for good.</td></tr>
<tr><td><tt>ALT+SHIFT+Z</tt></td><td></td><td>Redo the action you just reverted with <tt>ALT+Z</tt></td></tr>
</table>
<h2><a id="terminal" name="terminal">Shortcuts in Terminal</a></h2>
<table summary="shortcuts" border="0" cellspacing="0" cellpadding="4">
<tr><td><tt>ALT+N</tt></td><td style="width:15px;"></td><td>Opens another Terminal session in a new
window.</td></tr>
<tr><td><tt>ALT+T</tt></td><td></td><td>Opens another Terminal session in a new
tab.</td></tr>
<tr><td><tt>ALT+1,2,3...</tt></td><td></td><td>Switches to the corresponding tab.</td></tr>
<tr><td><tt>ALT+G</tt></td><td></td><td>Switch to the next Terminal window.</td></tr>
<tr><td><tt>ALT +,-</tt></td><td></td><td>Increase/Decrease font size.</td></tr>
<tr><td><tt>ALT+RETURN</tt></td><td></td><td>Enter/leave fullscreen mode.</td></tr>
<tr><td class="onelinetop"><tt>SHIFT+CURSOR UP/DOWN</tt></td><td></td><td>Scrolls the Terminal
output up/down one line.</td></tr>
<tr><td><tt> SHIFT+PAGE UP/DOWN </tt></td><td></td><td> Scrolls the Terminal
output up/down one page.</td></tr>
<tr><td><tt>TAB</tt></td><td></td><td>Tab-completion. After entering a few
letters, press <tt>TAB</tt> once to auto-complete a filename or path. If
there are more than one match, it stops where the name starts to differ
and you have to provide some more letters to further distinguish them.
You can also press <tt>TAB</tt> twice to have all matches
listed.</td></tr>
<tr><td><tt>CURSOR UP/DOWN</tt></td><td></td><td>Moves up or down in a list of
all previously entered commands.</td></tr>
<tr><td><tt>CTRL+R</tt></td><td></td><td>Bash history. All the commands you enter
are stored in the file <tt>~/.bash_history</tt>. Press <tt>CTRL+R</tt>
and start to enter a command and you'll be provided with the first match
from the bash history. Keep pressing <tt>CTRL+R</tt> until you find the
right command line and press enter to execute it.</td></tr>
<tr><td><tt>CTRL+C</tt></td><td></td><td>Stops the currently running
command.</td></tr>
<tr><td><tt>CTRL+D</tt></td><td></td><td>Closes the current Terminal
session.</td></tr>
</table>
<h2><a id="other-combos" name="other-combos">Other key combinations</a></h2>
<p>You can add or remove items to/from a selection by holding down a modifier key while clicking on a entry (or file in case of Tracker).</p>
<table summary="shortcuts" border="0" cellspacing="0" cellpadding="4">
<tr><td><tt>SHIFT</tt></td><td style="width:15px;"></td><td>This will select everything between the first selected item and the one you click on.</td></tr>
<tr><td><tt>ALT</tt></td><td></td><td>Adds or removes the item you're clicking on from the selection.</td></tr>
</table>
<p>In a Tracker window, if you just start typing, Tracker scrolls to and selects the file that best fits your incremental search. If there's no file starting with your typed letters, files that contain the search string anywhere in their name or other displayed attributes are selected. This search is <i>not</i> case-sensitive.<br />
The letters you type appear at the bottom-left, where normally the number of items are listed. After a second it reverts back and you could start a new incremental search.</p>
</div>
<div class="bottomnav">
<p>
<a href="contents.html">Contents</a>
&#160;&#160;&#160;
Previous: <a href="tracker-add-ons.html">Tracker Add-Ons</a>
&#160;&#160;&#160;
Next: <a href="deskbar.html">Deskbar</a>
</p>
</div>
</body>
</html>