geany/doc/html/ch03s07.html

26 lines
6.6 KiB
HTML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Keybindings</title><link rel="stylesheet" href="geany.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.68.1" /><link rel="start" href="index.html" title="&#10;&#9;&#9;&#9;Geany 0.7&#10;&#9;&#9;" /><link rel="up" href="ch03.html" title="Chapter 3. Usage" /><link rel="prev" href="ch03s06.html" title="Build System" /><link rel="next" href="ch03s08.html" title="Filetype definition files" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Keybindings</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s06.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Usage</th><td width="20%" align="right"> <a accesskey="n" href="ch03s08.html">Next</a></td></tr></table><hr /></div><div class="section" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="keybindings"></a>Keybindings</h2></div></div></div><p>
For all listed actions you can define your own keybindings. Open the preferences
dialog, select the desired action and click on change. In the opening dialog you can
press any key combination you want and it will be saved when you press OK.
You can define only one key combination for one action.
</p><p>
Some of the default key combinations cannot be changed, e.g. menu_new or menu_open.
These are set by GTK and should be kept, but you can still add other key
combinations for these actions. For example to execute menu_open by default
<span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">O</strong></span> is set, but you can
also define <span><strong class="keycap">Alt</strong></span>-<span><strong class="keycap">O</strong></span>, so that the
file open dialog is shown by pressing either
<span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">O</strong></span> or
<span><strong class="keycap">Alt</strong></span>-<span><strong class="keycap">O</strong></span>.
</p><p>
The following table lists all available actions for keyboard shortcuts.
</p><p>
</p><div class="table"><a id="id2531712"></a><p class="title"><b>Table 3.4. Keybindings action table</b></p><table summary="Keybindings action table" cellspacing="0" cellpadding="4" border="1"><colgroup><col /><col /></colgroup><thead><tr><th>Action</th><th>Description</th></tr></thead><tbody><tr><td colspan="2" align="left">Menu items</td></tr><tr><td>menu_new</td><td>Creates a new file.</td></tr><tr><td>menu_open</td><td>Opens a file.</td></tr><tr><td>menu_save</td><td>Saves the current file.</td></tr><tr><td>menu_saveall</td><td>Saves all open files.</td></tr><tr><td>menu_closeall</td><td>Closes all open files.</td></tr><tr><td>menu_reloadfile</td><td>Reloads the current file. All unsaved changes will be lost.</td></tr><tr><td>menu_undo</td><td>Undoes the last action.</td></tr><tr><td>menu_redo</td><td>Redoes the last action.</td></tr><tr><td>menu_preferences</td><td>Opens preferences dialog.</td></tr><tr><td>menu_findnext</td><td>Finds next result.</td></tr><tr><td>menu_findprevious</td><td>Finds previous result.</td></tr><tr><td>menu_replace</td><td>Opens the replace dialog.</td></tr><tr><td>menu_gotoline</td><td>Opens the Go To Line dialog.</td></tr><tr><td>menu_opencolorchooser</td><td>Opens the colour chooser dialog.</td></tr><tr><td>menu_fullscreen</td><td>Switches to fullscreen mode.</td></tr><tr><td>menu_messagewindow</td><td>Toggles the message window (status and compiler messages) on and off.</td></tr><tr><td>menu_zoomin</td><td>Zooms in the text</td></tr><tr><td>menu_zoomout</td><td>Zooms out the text</td></tr><tr><td>menu_replacetabs</td><td>Replaces all tabs with the right amount of spaces.</td></tr><tr><td>menu_foldall</td><td>Folds all contractible code blocks.</td></tr><tr><td>menu_unfoldall</td><td>Unfolds all contracted code blocks.</td></tr><tr><td colspan="2" align="left">Build options</td></tr><tr><td>build_compile</td><td>Compiles the current file.</td></tr><tr><td>build_link</td><td>Builds (compiles if necessary and links) the current file.</td></tr><tr><td>build_make</td><td>Builds the current file with the Make tool.</td></tr><tr><td>build_makeowntarget</td><td>Builds the current file with the Make tool and a given target.</td></tr><tr><td>build_run</td><td>Executes the current file in a terminal emulation.</td></tr><tr><td>build_run2</td><td>Executes the current file in a terminal emulation.</td></tr><tr><td>build_options</td><td>Opens the build options dialog.</td></tr><tr><td colspan="2" align="left">Miscellaneous</td></tr><tr><td>reloadtaglist</td><td>Reloads the tag/symbol list.</td></tr><tr><td>switch_editor</td><td>Switches to editor widget.</td></tr><tr><td>switch_scribble</td><td>Switches to scribble widget.</td></tr><tr><td>switch_vte</td><td>Switches to VTE widget.</td></tr><tr><td>switch_tableft</td><td>Switches to the previous open document.</td></tr><tr><td>switch_tabright</td><td>Switches to the next open document.</td></tr><tr><td>toggle_sidebar</td><td>Shows or hides the sidebar.</td></tr><tr><td colspan="2" align="left">Editing operations</td></tr><tr><td>edit_duplicateline</td><td>Duplicates the current line.</td></tr><tr><td>edit_commentline</td><td>Comments current line or selection.</td></tr><tr><td>edit_autocomplete</td><td>Shows auto completion list.</td></tr><tr><td>edit_calltip</td><td>Shows call tips for the current function or method.</td></tr><tr><td>edit_macrolist</td><td>Shows a list of available macros and
variables in the workspace.
</td></tr><tr><td>edit_suppresscompletion</td><td>If you type something like if or for and press this key, it
will not be auto completed.
</td></tr></tbody></table></div><p>
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s06.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Build System </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Filetype definition files</td></tr></table></div></body></html>