geany/doc/html/ch03s12.html
Enrico Tröger 011fcde8ea Updated for Geany 0.11.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-21 15:24:27 +00:00

74 lines
12 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html><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.72.0"><link rel="start" href="index.html" title="Geany 0.11"><link rel="up" href="ch03.html" title="Chapter 3. Usage"><link rel="prev" href="ch03s11.html" title="Printing support"><link rel="next" href="ch04.html" title="Chapter 4. Configuration files"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><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="ch03s11.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Usage</th><td width="20%" align="right"> <a accesskey="n" href="ch04.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="keybindings"></a>Keybindings</h2></div></div></div><p>
<span class="application">Geany</span> supports the default keyboard shortcuts for the
Scintilla editing widget. For a list of these commands, see
<a href="apb.html" title="Appendix B. Scintilla keyboard commands">Appendix B, <i>Scintilla keyboard commands</i></a>.
The Scintilla keyboard shortcuts will be overridden by any custom keybindings
with the same keyboard shortcut.
</p><p>
For all actions listed below 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 customizable keyboard shortcuts.
</p><p>
</p><div class="table"><a name="id2812755"></a><p class="title"><b>Table 3.3. Keybindings action table</b></p><div class="table-contents"><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>New</td><td>Creates a new file.</td></tr><tr><td>Open</td><td>Opens a file.</td></tr><tr><td>Save</td><td>Saves the current file.</td></tr><tr><td>Save As</td><td>Saves the current file under a new name.</td></tr><tr><td>Save all</td><td>Saves all open files.</td></tr><tr><td>Close all</td><td>Closes all open files.</td></tr><tr><td>Close</td><td>Closes the current file.</td></tr><tr><td>Reload file</td><td>Reloads the current file. All unsaved changes will be lost.
</td></tr><tr><td>Print</td><td>Prints the current file.</td></tr><tr><td>Undo</td><td>Undoes the last action.</td></tr><tr><td>Redo</td><td>Redoes the last action.</td></tr><tr><td>Select all</td><td>Makes a selection of all text in the current document.
</td></tr><tr><td>Insert date</td><td>Inserts a customisable date.</td></tr><tr><td>Preferences</td><td>Opens preferences dialog.</td></tr><tr><td>Find Next</td><td>Finds next result.</td></tr><tr><td>Find Previous</td><td>Finds previous result.</td></tr><tr><td>Replace</td><td>Opens the Replace dialog.</td></tr><tr><td>Find in files</td><td>Opens the Find in files dialog.</td></tr><tr><td>Next message</td><td>Jumps to the line with the next message from the last call
to Find usage.</td></tr><tr><td>Go to line</td><td>Opens the Go to line dialog.</td></tr><tr><td>Show Colour Chooser</td><td>Opens the Colour Chooser dialog.</td></tr><tr><td>Fullscreen</td><td>Switches to fullscreen mode.</td></tr><tr><td>Toggle Messages Window</td><td>Toggles the message window (status and compiler messages)
on and off.
</td></tr><tr><td>Toggle Sidebar</td><td>Shows or hides the sidebar.</td></tr><tr><td>Toggle all additional widgets</td><td>Hide and show all additional widgets like the notebook tabs,
the toolbar, the messages window and the statusbar.</td></tr><tr><td>Zoom In</td><td>Zooms in the text</td></tr><tr><td>Zoom Out</td><td>Zooms out the text</td></tr><tr><td>Replace tabs by space</td><td>Replaces all tabs with the right amount of spaces.</td></tr><tr><td>Fold all</td><td>Folds all contractible code blocks.</td></tr><tr><td>Unfold all</td><td>Unfolds all contracted code blocks.</td></tr><tr><td colspan="2" align="left">Build options</td></tr><tr><td>Compile</td><td>Compiles the current file.</td></tr><tr><td>Build</td><td>Builds (compiles if necessary and links) the current file.
</td></tr><tr><td>Make all</td><td>Builds the current file with the Make tool.</td></tr><tr><td>Make custom target</td><td>Builds the current file with the Make tool and a given target.
</td></tr><tr><td>Make object</td><td>Compiles the current file with the Make tool.
</td></tr><tr><td>Next error</td><td>Jumps to the line with the next error from the last build
process.
</td></tr><tr><td>Run</td><td>Executes the current file in a terminal emulation.</td></tr><tr><td>Run (alternative command)</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>Reload symbol list</td><td>Reloads the tag/symbol list.</td></tr><tr><td>Switch to Editor</td><td>Switches to editor widget.</td></tr><tr><td>Switch to Scribble</td><td>Switches to scribble widget.</td></tr><tr><td>Switch to VTE</td><td>Switches to VTE widget.</td></tr><tr><td>Switch to Search Bar</td><td>Switches to the search bar in the toolbar (if visible).</td></tr><tr><td>Switch to left document</td><td>Switches to the previous open document.</td></tr><tr><td>Switch to right document</td><td>Switches to the next open document.</td></tr><tr><td>Switch to last used document</td><td>Switches to the previously selected open document.</td></tr><tr><td colspan="2" align="left">Editing operations</td></tr><tr><td>Convert selection to lower case</td><td>Converts the current selection to lower case.</td></tr><tr><td>Convert selection to upper case</td><td>Converts the current selection to upper case.</td></tr><tr><td>Duplicate line or selection</td><td>Duplicates the current line or selection.</td></tr><tr><td>Comment line</td><td>Comments current line or selection.</td></tr><tr><td>Uncomment line</td><td>Uncomments current line or selection.</td></tr><tr><td>Toggle line commentation</td><td>Comments a line if it is not commented or removes a comment
if the line is commented.</td></tr><tr><td>Increase indent</td><td>Indents the current line or selection by one tabulator.</td></tr><tr><td>Decrease indent</td><td>Removes one tabulator from the indentation of the current
line or selection.</td></tr><tr><td>Goto matching brace</td><td>If the cursor is ahead or behind a brace, then it is moved to
the brace which belongs to the current one. If this keyboard
shortcut is pressed again, the cursor is moved back to the
first brace.</td></tr><tr><td>Toggle marker</td><td>Set a marker on the current line, or clear the marker if there
already is one.</td></tr><tr><td>Goto next marker</td><td>Goto the next marker in the current document.</td></tr><tr><td>Goto previous marker</td><td>Goto the previous marker in the current document.</td></tr><tr><td>Complete word</td><td>Shows auto completion list.</td></tr><tr><td>Show calltip</td><td>Shows call tips for the current function or method.</td></tr><tr><td>Show macro list</td><td>Shows a list of available macros and
variables in the workspace.
</td></tr><tr><td>Complete construct</td><td>If you type a construct like <code class="literal">if</code> or
<code class="literal">for</code> and press this key, it
will be completed with a matching template.
</td></tr><tr><td>Suppress construct completion</td><td>If you type a construct like <code class="literal">if</code> or
<code class="literal">for</code> and press this key, it
will not be completed, and a space or tab will be inserted,
depending on what the construct completion keybinding is set to.
For example, if you have set the
construct completion keybinding to <code class="literal">space</code>,
then setting this to <code class="literal">Shift+space</code> will
prevent construct completion and insert a space.
</td></tr><tr><td>Select current word</td><td>Selects the current word under the cursor.
</td></tr><tr><td>Insert alternative whitespace</td><td>Inserts a tabulator character when spaces should be used for
indentation and inserts space characters of the amount of a
tabulator width when tabulators should be used for
indentation.
</td></tr><tr><td>Find Usage</td><td>Finds all occurrences of the current word (near the keyboard
cursor) or selection and displays them in the messages window.
</td></tr><tr><td>Go to tag definition</td><td>Jump to the definition of the current word (near the
keyboard cursor). If the definition cannot be found (e.g. the
relevant file is not open) <span class="application">Geany</span>
will beep and do nothing. See <a href="ch03s06.html#search_gototag" title="Go to tag definition">the section called “Go to tag definition”</a>.
</td></tr><tr><td>Go to tag declaration</td><td>Jump to the declaration of the current word (near the
keyboard cursor). If the declaration cannot be found (e.g. the
relevant file is not open) <span class="application">Geany</span>
will beep and do nothing. See <a href="ch03s06.html#search_gototag" title="Go to tag definition">the section called “Go to tag definition”</a>.
</td></tr><tr><td>Context Action</td><td>Executes a command and passes the current word (near the
cursor postion) or selection as an argument. See
<a href="ch03s05.html#editing_context_actions" title="Context actions">the section called “Context actions”</a>.
</td></tr></tbody></table></div></div><p><br class="table-break">
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s11.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="ch04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Printing support </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 4. Configuration files</td></tr></table></div></body></html>