Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howtos:sorted_keyboard_shortcuts [2013/09/11 20:24] – Add list of keyboard shortcuts, sorted by key (contributed by Richard Hardwick) enrico | howtos:sorted_keyboard_shortcuts [2024/05/29 15:25] (current) – better formulation ralf3u | ||
---|---|---|---|
Line 4: | Line 4: | ||
offers some keyboard shortcuts (' | offers some keyboard shortcuts (' | ||
- | The following | + | The following |
+ | Customizable shortcuts are marked as **(C)**. | ||
You can make more! For how to do this, see | You can make more! For how to do this, see | ||
Line 12: | Line 13: | ||
===== Built-in shortcuts ===== | ===== Built-in shortcuts ===== | ||
- | ^ Shortcut^Result^Description^ | + | |
- | | F1 (C)|Help|Opens the manual.| | + | |
- | | F2|Switch | + | |
- | | F4|Switch | + | ==== MOVING AROUND IN THE DOCUMENT==== |
- | | F5|Run|Executes | + | |
- | | F6|Switch to Scribble|Switches to scribble widget.| | + | ^Shortcut |
- | | F7|Switch to Search Bar|Switches to the search bar in the toolbar (if visible).| | + | |Home|Go to Start of Line|Move the caret to the start of the line. Behaves differently |
- | | F8|Compile|Compiles the current file.| | + | |End|Go to End of Line|Move the caret to the end of the line.| |
- | | Shift-F8|Make object|Compiles the current file with the Make tool.| | + | |Alt-Home|Go to Start of Display |
- | | F9|Build|Builds (compiles | + | |Alt-End|Go to End of Display Line|Move the caret to the end of the display line. If the line is not wrapped, it behaves like Go to End of Line.| |
- | | Shift-F9|Make all|Builds the current file with the Make tool.| | + | |Alt-Up|Scroll up by one line|Scrolls |
- | | Ctrl-Shift-F9|Make custom target|Builds the current file with the Make tool and a given target.| | + | |Alt-Down|Scroll down by one line|Scrolls the view.| |
- | | F11 (C)|Fullscreen|Switches to fullscreen mode.| | + | |Ctrl-Shift-L|Scroll |
- | | \\ | | + | |Ctrl-L|Go |
- | | End|Go to End of Line|Move the caret to the end of the line.| | + | |Ctrl-B|Goto matching brace|If the cursor |
- | | Home|Go to Start of Line|Move the caret to the start of the line. Behaves differently if smart_home_key | + | |Ctrl-M|Toggle marker|Set |
- | | Tab|Word part completion|When | + | |Ctrl-, |
- | | Tab|Complete snippet|If you type a construct like if or for and press this key, it will be completed with a matching template.| | + | |Ctrl-.|Goto next marker|Goto |
- | | \\ | | | + | |Ctrl-/|Go to Previous Word Part|Goto the previous part of the current |
- | | Alt-Down|Scroll down by one line|Scrolls the view.| | + | |Ctrl-\|Go to Next Word Part|Goto the next part of the current |
- | | Alt-End|Go to End of Display Line|Move the caret to the end of the display line. If the line is not wrapped, it behaves like Go to End of Line.| | + | |Alt-Right (C)|Navigate forward a location|Switches to the next location in the navigation history. See the section called Code Navigation History.| |
- | | Alt-Home|Go to Start of Display Line|Move the caret to the start of the display line. This is useful when you use line wrapping | + | |Alt-Left (C)|Navigate back a location|Switches to the previous location in the navigation history. See the section called Code navigation history.| |
- | | Alt-Left (C)|Navigate back a location|Switches to the previous | + | |F1 (C)|Help|Opens the manual.| |
- | | Alt-PageDown|Move line(s) down|Move the current | + | |
- | | Alt-PageUp|Move line(s) up|Move the current | + | |
- | | Alt-Right (C)|Navigate forward a location|Switches to the next location in the navigation history. See the section called Code Navigation History.| | + | ==== MOVING THE DOCUMENT==== |
- | | Alt-Shift-L|Select current line(s)|Selects | + | |
- | | Alt-Shift-P|Select current paragraph|Selects | + | ^Shortcut keys^Action^Description^ |
- | | Alt-Shift-W|Select current word|Selects | + | |Ctrl-Shift-PageDown|Move document right|Changes |
- | | Alt-Up|Scroll up by one line|Scrolls | + | |Ctrl-Shift-PageUp|Move document left|Changes |
- | | \\ | | | + | |Ctrl-PageDown (C)|Switch to right document|Switches to the next open document.| |
- | | Shift-Alt-D|Insert date|Inserts a customisable date.| | + | |Ctrl-PageUp (C)|Switch to left document|Switches to the previous open document.| |
- | | \\ | | + | |Ctrl-+ (C)|Zoom In|Zooms in the text.| |
- | | Ctrl-A (C)|Select all|Makes a selection of all text in the current document.| | + | |Ctrl-< |
- | | Ctrl-B|Goto matching brace|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.| | + | |Ctrl-0|Zoom Reset|Reset any previous zoom on the text.| |
- | | Ctrl-C (C)|Copy|Copy the current selection to the clipboard.| | + | |F11 (C)|Fullscreen|Switches to fullscreen mode.| |
- | | Ctrl-D|Duplicate line or selection|Duplicates the current line or selection.| | + | |F1 (C)|Help|Opens the manual.| |
- | | Ctrl-E|Toggle line commentation|Comments a line if it is not commented or removes a comment if the line is commented.| | + | |
- | | Ctrl-F (C)|Find|Opens the Find dialog.| | + | |
- | | Ctrl-G|Find Next|Finds next result.| | + | |
- | | Ctrl-H (C)|Replace|Opens the Replace | + | ==== FINDING TEXT, SELECTING TEXT ==== |
- | | Ctrl-I|Increase indent|Indents | + | |
- | | Ctrl-K|Delete | + | ^Shortcut keys^Action^Description^ |
- | | Ctrl-L|Go to line|Focuses | + | |Ctrl-F (C)|Find|Opens the Find dialog.| |
- | | Ctrl-M|Toggle marker|Set a marker on the current line, or clear the marker if there already is one.| | + | |Ctrl-G|Find Next|Finds next result.| |
- | | Ctrl-N (C)|New|Creates a new file.| | + | |Ctrl-Shift-G|Find Previous|Finds previous result.| |
- | | Ctrl-O (C)|Open|Opens a file.| | + | |Ctrl-Shift-F|Find in files|Opens the Find in files dialog.| |
- | | Ctrl-P (C)|Print|Prints | + | |F7|Switch to Search Bar|Switches to the search bar in the toolbar (if visible).| |
- | | Ctrl-Q | + | |Ctrl-Shift-E|Find Usage|Finds all occurrences of the current |
- | | Ctrl-R (C)|Reload file|Reloads | + | |Ctrl-Shift-D|Find Document Usage|Finds all occurrences |
- | | Ctrl-S (C)|Save|Saves | + | |Alt-Shift-W|Select current word|Selects the current word under the cursor.| |
- | | Ctrl-T|Go to tag definition|Jump to the definition of the current | + | |Alt-Shift-L|Select |
- | | Ctrl-U|Decrease indent|Removes one tab or the amount of spaces of the tab width setting from the indentation of the current line or selection.| | + | |Alt-Shift-P|Select current paragraph|Selects the current paragraph under the cursor which is defined by two empty lines around it.| |
- | | Ctrl-V (C)|Paste|Paste the clipboard text into the current document.| | + | |Ctrl-A (C)|Select all|Makes |
- | | Ctrl-W (C)|Close|Closes | + | |Control + Shift|Column mode editing (rectangular selections)|edits of the text within this selection will be done for every line in the selection.| |
- | | Ctrl-X (C)|Cut|Cut the current | + | |Control + Alt|Column mode editing (rectangular selections)|edits of the text within this selection will be done for every line in the selection.| |
- | | Ctrl-Y|Redo|Re-does | + | |Ctrl-Shift-M|Mark All|Highlight all matches of the current word/ |
- | | Ctrl-Z | + | |Ctrl-M|Toggle marker|Set a marker on the current line, or clear the marker if there already is one.| |
- | | \\ | | | + | |Ctrl-,|Goto previous marker|Goto the previous marker in the current document.| |
- | | Ctrl-Alt-P|Preferences|Opens preferences dialog.| | + | |Ctrl-.|Goto next marker|Goto the next marker in the current |
- | | Ctrl-Alt-U|Toggle case of selection|Changes the case of the selection. A lowercase selection will be changed into uppercase and vice versa. If the selection contains lower- and uppercase characters, all will be converted to lowercase.| | + | |F1 (C)|Help|Opens the manual.| |
- | | \\ | | | + | |
- | | Ctrl-0|Zoom Reset|Reset any previous zoom on the text.| | + | |
- | | Ctrl-1 (2,3)|Send to Custom Command 1 (2, | + | |
- | | \\ | | | + | ==== CUT & PASTE ==== |
- | | Ctrl-- (C)|Zoom Out|Zooms out the text.| | + | |
- | | Ctrl-,|Goto previous marker|Goto the previous marker | + | ^Shortcut keys^Action^Description^ |
- | | Ctrl-.|Goto next marker|Goto the next marker in the current document.| | + | |Ctrl-X (C)|Cut|Cut the current |
- | | Ctrl-/|Go to Previous Word Part|Goto | + | |Ctrl-Shift-X|Cut current line(s)|Cuts the current |
- | | Ctrl-\|Go to Next Word Part|Goto the next part of the current | + | |Ctrl-C (C)|Copy|Copy the current selection to the clipboard.| |
- | | Ctrl-+ (C)|Zoom In|Zooms in the text.| | + | |Ctrl-Shift-C|Copy current line(s)|Copies |
- | | \\ | | + | |Ctrl-V (C)|Paste|Paste the clipboard text into the current document.| |
- | | Ctrl-Space|Complete word|Shows the autocompletion list. If already showing tag completion, it shows document word completion instead, even if it is not enabled for automatic completion. Likewise if no tag suggestions are available, it shows document word completion.| | + | |Ctrl-D|Duplicate line or selection|Duplicates |
- | | Ctrl-Shift-Space|Show calltip|Shows a calltip for the current | + | |Ctrl-Shift-Delete|Delete to line end|Deletes from the current |
- | | \\ | | | + | |Ctrl-K|Delete current line(s)|Deletes |
- | | Ctrl-Shift-C|Copy current line(s)|Copies | + | |F1 (C)|Help|Opens the manual.| |
- | | Ctrl-Shift-D|Find Document Usage|Finds all occurrences of the current | + | |
- | | Ctrl-Shift-E|Find Usage|Finds all occurrences of the current | + | |
- | | Ctrl-Shift-F|Find in files|Opens | + | |
- | | Ctrl-Shift-G|Find Previous|Finds previous result.| | + | ==== EDITING ==== |
- | | Ctrl-Shift-L|Scroll to current line|Scrolls | + | |
- | | Ctrl-Shift-M|Mark All|Highlight all matches of the current word/ | + | ^Shortcut keys^Action^Description^ |
- | | Ctrl-Shift-O|Open selected file|Opens the selected filename.| | + | |Shift-Alt-D|Insert date|Inserts a customisable date.| |
- | | Ctrl-Shift-R|Reload symbol list|Reloads | + | |Ctrl-Shift-U, Unicode, Enter|Insert one special character|Hold down the Ctrl and Shift keys together, press the U key, release the U key, release the Ctrl and Shift keys, type for example 2014, and then hit the Enter key.| |
- | | Ctrl-Shift-S|Save all|Saves all open files.| | + | |Ctrl-E|Toggle line commentation|Comments a line if it is not commented or removes a comment if the line is commented.| |
- | | Ctrl-Shift-T|Go to tag declaration|Jump to the declaration of the current | + | |Ctrl-Alt-U|Toggle case of selection|Changes the case of the selection. A lowercase selection will be changed into uppercase and vice versa. If the selection contains lower- and uppercase characters, all will be converted to lowercase.| |
- | | Ctrl-Shift-W|Close all|Closes all open files.| | + | |Tab|Word part completion|When the autocompletion list is visible, complete |
- | | Ctrl-Shift-X|Cut current line(s)|Cuts the current | + | |Tab|Complete snippet|If you type a construct like if or for and press this key, it will be completed with a matching template.| |
- | | \\ | | | + | |Ctrl-I|Increase indent|Indents |
- | | Ctrl-PageUp | + | |Ctrl-U|Decrease indent|Removes one tab or the amount of spaces of the tab width setting from the indentation |
- | | Ctrl-Shift-PageUp|Move document left|Changes the current document with the left hand one.| | + | |Alt-PageUp|Move line(s) up|Move the current |
- | | \\ | | | + | |Alt-PageDown|Move line(s) down|Move the current line or selected lines down by one line.| |
- | | Ctrl-PageDown (C)|Switch to right document|Switches to the next open document.| | + | |Ctrl-Space|Complete word|Shows the autocompletion list. If already showing tag completion, it shows document word completion instead, even if it is not enabled for automatic completion. Likewise if no tag suggestions are available, it shows document word completion.| |
- | | Ctrl-Shift-PageDown|Move document right|Changes | + | |Ctrl-Shift-T|Go to tag declaration|Jump to the declaration of the current |
- | | \\ | | | + | |Ctrl-T|Go to tag definition|Jump to the definition of the current word or selection. See Go to tag definition.| |
- | | Ctrl-Return|Show macro list|Shows a list of available macros and variables in the workspace.| | + | |Ctrl-Z (C)|Undo|Un-does |
- | | Ctrl-Tab|Switch to last used document|Switches to the previously shown document (if it's still open). Holding Ctrl (or another modifier if the keybinding has been changed) will show a dialog, then repeated presses of the keybinding will switch to the 2nd-last used document, 3rd-last, etc. Also known as Most-Recently-Used documents switching.| | + | |Ctrl-Y|Redo|Re-does the last action.| |
- | | \\ | | | + | |Ctrl-H |
- | | Ctrl-Shift-Delete|Delete to line end|Deletes from the current caret position to the end of the current line.| | + | |Ctrl-1 (2,3)|Send to Custom Command 1 (2,3)|Passes |
+ | |Ctrl-Shift-Space|Show calltip|Shows a calltip for the current | ||
+ | |F1 (C)|Help|Opens | ||
+ | |||
+ | |||
+ | |||
+ | ==== FILES ==== | ||
+ | |||
+ | ^Shortcut keys^Action^Description^ | ||
+ | |Ctrl-N (C)|New|Creates a new file.| | ||
+ | |Ctrl-O (C)|Open|Opens | ||
+ | |Ctrl-Shift-O|Open selected file|Opens the selected filename.| | ||
+ | |Ctrl-R (C)|Reload file|Reloads | ||
+ | |Ctrl-Tab|Switch to last used document|Switches to the previously shown document | ||
+ | |Shift+F10|Open a dialog|The dialog is the same dialog when right-clicking on a tab-title. With the arrow-up/ | ||
+ | |Ctrl-S (C)|Save|Saves the current file.| | ||
+ | |Ctrl-Shift-S|Save all|Saves all open files.| | ||
+ | |Ctrl-W (C)|Close|Closes | ||
+ | |Ctrl-Shift-W|Close all|Closes all open files.| | ||
+ | |Ctrl-P (C)|Print|Prints | ||
+ | |Ctrl-Q (C)|Quit|Quits Geany.| | ||
+ | |F1 (C)|Help|Opens the manual.| | ||
+ | |||
+ | |||
+ | |||
+ | ==== BUILD, MAKE, & COMPILE ==== | ||
+ | |||
+ | ^Shortcut keys^Action^Description^ | ||
+ | |Ctrl-Alt-P|Preferences|Opens preferences dialog.| | ||
+ | |F9|Build|Builds (compiles if necessary and links) the current file.| | ||
+ | |Shift-F8|Make object|Compiles | ||
+ | |Shift-F9|Make all|Builds | ||
+ | |F8|Compile|Compiles the current file.| | ||
+ | |F5|Run|Executes the current file in a terminal emulation.| | ||
+ | |Ctrl-Return|Show macro list|Shows a list of available macros and variables in the workspace.| | ||
+ | |Ctrl-Shift-F9|Make custom target|Builds the current file with the Make tool and a given target.| | ||
+ | |Ctrl-Shift-R|Reload symbol list|Reloads the tag/symbol list.| | ||
+ | |F1 (C)|Help|Opens the manual.| | ||
+ | |||
+ | |||
+ | |||
+ | ==== ALSO ==== | ||
+ | |||
+ | ^Shortcut keys^Action^Description^ | ||
+ | |F2|Switch to Editor|Switches to editor widget. Also reshows | ||
+ | |F4|Switch to VTE|Switches to VTE widget.| | ||
+ | |F6|Switch to Scribble|Switches to scribble widget.| | ||
+ | |F1 (C)|Help|Opens | ||
+ | |||
+ | ===== System and keyboard specific shortcuts ===== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== INSERT ONE SPECIAL CHARACTER==== | ||
+ | |||
+ | Shortcuts in this section are not part of Geany but provided by some systems and by some keyboards. So, it can be that the following shortcuts don't work on some systems or keyboards. | ||
+ | |||
+ | ^Shortcut keys^Action^Description^ | ||
+ | |Alt Gr-character|Insert one special character|Press on the keyboard at the same time the Alt Gr key and one symbol key, like a number or a letter.| | ||
+ | |Alt Gr-Shift-character|Insert one special character|Press on the keyboard at the same time the Alt Gr key, the Shift key and one symbol key, like a number or a letter.| | ||
{{tag> | {{tag> | ||