<info> <name>Sindhu S</name> <email>sindhus@live.in</email> <years>2013</years> <name>Ekaterina Gerasimova</name> <email>kittykat3756@gmail.com</email> <years>2013</years> <name>Michael Hill</name> <email>mdhillca@gmail.com</email> <years>2013</years> <desc>View and edit keyboard shortcuts.</desc> </info>

Keyboard shortcuts are combinations of keys that allow you to perform actions, such as opening the settings dialog or accessing a feature inside <app>Terminal</app> quickly. These shortcuts can be modified to suit your preferences.

To change a keyboard shortcut:

<steps> <item>

Select <guiseq>Edit Preferences Shortcuts</guiseq>.

</item> <item>

Select the shortcut that you wish to edit by clicking on it.

</item> <item>

Once the shortcut is selected, click on the shortcut key combination to edit it.

</item> <item>

Press your desired shortcut key combination as you would enter it to use it. The keys that you can use include <key>Alt</key>, <key>Alt Gr</key>, <key>Ctrl</key>, <key>Shift</key>, number and letter keys.

<note>

Mnemonic key combinations, such as <keyseq><key>Alt</key> <key>F</key></keyseq> will not work.

</note> </item> <item>

Once you have entered your new shortcut, it will automatically be saved and you should see it in the list next to the corresponding action.

</item> </steps>

To disable a shortcut, edit it and press the <key>Backspace</key> instead of the new shortcut.

<gui style="menu">File</gui> shortcuts

The default shortcuts for options under File menu are:

Action | Keyboard Shortcut
New Tab | <keyseq><key>Shift</key><key>Ctrl</key><key>T</key></keyseq>
New Window | <keyseq><key>Shift</key><key>Ctrl</key><key>N</key></keyseq>
Close Tab | <keyseq><key>Shift</key><key>Ctrl</key><key>W</key></keyseq>
Close Window | <keyseq><key>Shift</key><key>Ctrl</key><key>Q</key></keyseq>

<gui style="menu">Edit</gui> shortcuts

The default shortcuts for options under Edit menu are:

Action | Keyboard Shortcut
Copy | <keyseq><key>Ctrl</key><key>Shift</key><key>C</key></keyseq>
Paste | <keyseq><key>Ctrl</key><key>Shift</key><key>V</key></keyseq>

<gui style="menu">View</gui> shortcuts

The default shortcuts for options in the View menu are:

Action | Keyboard Shortcut
Full Screen | <key>F11</key>
Zoom In | <keyseq><key>Ctrl</key><key>+</key></keyseq>
Zoom Out | <keyseq><key>Ctrl</key><key>-</key></keyseq>
Normal Size | <keyseq><key>Ctrl</key><key>0</key></keyseq>

Tab shortcuts

The default shortcuts for working with tabs are:

Action | Keyboard Shortcut
Switch to Previous Tab | <keyseq><key>Ctrl</key><key>Page Up</key></keyseq>
Switch to Next Tab | <keyseq><key>Ctrl</key><key>Page Down</key></keyseq>
Move Tab to the Left | <keyseq><key>Shift</key><key>Ctrl</key><key>Page Up</key></keyseq>
Move Tab to the Right | <keyseq><key>Shift</key><key>Ctrl</key><key>Page Down</key></keyseq>
Switch to Tab 1 | <keyseq><key>Alt</key><key>1</key></keyseq>
Switch to Tab 2 | <keyseq><key>Alt</key><key>2</key></keyseq>
Switch to Tab 3 | <keyseq><key>Alt</key><key>3</key></keyseq>
Switch to Tab 4 | <keyseq><key>Alt</key><key>4</key></keyseq>
Switch to Tab 5 | <keyseq><key>Alt</key><key>5</key></keyseq>
Switch to Tab 6 | <keyseq><key>Alt</key><key>6</key></keyseq>
Switch to Tab 7 | <keyseq><key>Alt</key><key>7</key></keyseq>
Switch to Tab 8 | <keyseq><key>Alt</key><key>8</key></keyseq>
Switch to Tab 9 | <keyseq><key>Alt</key><key>9</key></keyseq>
Switch to Tab 10 | <keyseq><key>Alt</key><key>0</key></keyseq>

Help shortcuts

The default shortcuts for accessing items in the Help menu are:

Action | Keyboard Shortcut
Contents | <key>F1</key>

Other

There are also some shortcuts that cannot be edited:

Action | Keyboard Shortcut
Scroll up by one line | <keyseq><key>Shift</key><key>Ctrl</key><key>Up</key></keyseq>
Scroll down by one line | <keyseq><key>Shift</key><key>Ctrl</key><key>Down</key></keyseq>

Bash shortcuts

These are <app>Bash</app> shortcuts. <app>Bash</app> is usually the default shell.

<comment> Kat

TODO: move this section to a new page or link to info:readline instead.

</comment>

<app>Bash</app> shell specific keyboard shortcuts are:

Action | Keyboard shortcut
Erase a word | <keyseq><key>Ctrl</key><key>W</key></keyseq>
Erase a line | <keyseq><key>Ctrl</key><key>U</key></keyseq>
Move to the start of the line | <keyseq><key>Ctrl</key><key>A</key></keyseq>
Move to the end of the line | <keyseq><key>Ctrl</key><key>E</key></keyseq>
Move back one character | <keyseq><key>Ctrl</key><key>B</key></keyseq>
Move back one word | <keyseq><key>Alt</key><key>B</key></keyseq>
Move forward one character | <keyseq><key>Ctrl</key><key>F</key></keyseq>
Move forward one word | <keyseq><key>Alt</key><key>F</key></keyseq>
Delete from the cursor to the beginning of the line. | <keyseq><key>Ctrl</key><key>u</key></keyseq>
Delete from the cursor to the end of the line. | <keyseq><key>Ctrl</key><key>K</key></keyseq>
Delete from the cursor to the start of the word. | <keyseq><key>Ctrl</key><key>W</key></keyseq>
Delete previous word | <keyseq><key>Esc</key><key>Del</key></keyseq> or <keyseq><key>Esc</key><key>Backspace</key></keyseq>
Pastes text from the clipboard. | <keyseq><key>Ctrl</key><key>Y</key></keyseq>
Clear the screen leaving the current line at the top of the screen. | <keyseq><key>Ctrl</key><key>L</key></keyseq>
Reverse incremental search of history | <keyseq><key>Ctrl</key><key>R</key></keyseq>
Reverse non-incremental search of history | <keyseq><key>Alt</key><key>P</key></keyseq>