Skip to content

Commit 36c92df

Browse files
committed
Add shortcuts to the README
1 parent 87ba080 commit 36c92df

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Diff for: README.md

+21
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,27 @@ With the point on a built-in class you can press `C-c C-r C-o` to open the code
168168

169169
To open the main API reference page and browse it, press `C-c C-r C-a`.
170170

171+
## Keyboard shortcuts
172+
173+
The following shortcuts are available by default:
174+
175+
- Inserting:
176+
- <kbd>C-c i</kbd> `gdscript-completion-insert-file-path-at-point`
177+
- Formatting:
178+
- <kbd>C-c C-f r</kbd> `gdscript-format-region`
179+
- <kbd>C-c C-f b</kbd> `gdscript-format-buffer`
180+
- Running the project and scenes in Godot:
181+
- <kbd>C-c C-r p</kbd> `gdscript-godot-open-project-in-editor`
182+
- <kbd>C-c C-r r</kbd> `gdscript-godot-run-project`
183+
- <kbd>C-c C-r d</kbd> `gdscript-godot-run-project-debug`
184+
- <kbd>C-c C-r s</kbd> `gdscript-godot-run-current-scene`
185+
- <kbd>C-c C-r q</kbd> `gdscript-godot-run-current-scene-debug`
186+
- <kbd>C-c C-r e</kbd> `gdscript-godot-edit-current-scene`
187+
- <kbd>C-c C-r x</kbd> `gdscript-godot-run-current-script`
188+
- Browsing the code reference:
189+
- <kbd>C-c C-b a</kbd> `gdscript-docs-browse-api`
190+
- <kbd>C-c C-b o</kbd> `gdscript-docs-browse-symbol-at-point`
191+
171192
## Customization
172193

173194
To find all GDScript-mode settings, press `M-x customize` and search for "gdscript".

0 commit comments

Comments
 (0)