Table of Contents
The following table lists several useful key codes, which you can use in Geany.
Table A.1. Key Table
| Key | Function |
|---|---|
| File operations | |
| Ctrl-N | Create new file |
| Ctrl-O | Open file |
| Ctrl-S | Save current file |
| Ctrl-R | Reload the current file. All unsaved changes will be lost. |
| Ctrl-Shift-S | Save all open files |
| Ctrl-W | Close current file |
| Alt-D | Close all open files |
| Editing operations | |
| Ctrl-X | Cut the current selection and copy it into the clipboard |
| Ctrl-C | Copy the current selection into the clipboard |
| Ctrl-V | Paste the content of the clipboard at the current position |
| Ctrl-Z | Undo the last action |
| Ctrl-Y | Redo the last action |
| Ctrl-G | Duplicate the current line |
| Ctrl-A | Select all |
| Ctrl-D | Comment current line or selection |
| Ctrl-Space | Show auto completion list |
| Ctrl-Return | Show list of available(in the workspace) macros and variables |
| Alt-Space | Show call tips for the current function or method |
| Shift-Space | Insert just a blank. Useful after typing if or while, to explicitly suppress the use of construct auto completion |
| Ctrl-Shift-R | Reload the tag/symbol list |
| Finding text | |
| Ctrl-F | Open find dialog |
| F3 | Find next |
| Building files | |
| F8 | Compile the current file. |
| F9 | Build the current file. |
| Shift-F9 | Build the current file with the make tool. |
| F5 | Execute the current file in a terminal emulation. |
| Miscellaneous | |
| Ctrl-Left | Moves the cursor to the left word boundary. |
| Ctrl-Right | Moves the cursor to the next word. |
| Alt-Left | Switch to the previous open document |
| Alt-Right | Switch to the next open document |
| Ctrl-+ | Zoom in the text |
| Ctrl-- | Zoom out the text |
| Ctrl-P | Open preferences dialog |
| F1 | Show help |
| F6 | Switch to VTE widget |
| F11 | Switch to fullscreen mode |
| F12 | Switch to Scribble widget |
| Ctrl-Q | Quit |