diff --git a/getting_started/editor/default_key_mapping.rst b/getting_started/editor/default_key_mapping.rst new file mode 100644 index 000000000..87dfacc9a --- /dev/null +++ b/getting_started/editor/default_key_mapping.rst @@ -0,0 +1,538 @@ +.. _doc_default_key_mapping: + +Default editor shortcuts +======================== +Many of Godot Editor functions can be executed with keyboard shortcuts. This page +lists functions which have associated shortcuts by default, but many others are +available for customization in editor settings as well. To change keys associated +with these and other actions navigate to ``Editor -> Editor Settings -> Shortcuts``. + +While some actions are universal, a lot of shortcuts are specific to individual +tools. For this reason it is possible for some key combinations to be assigned +to more than one function. The correct action will be performed depending on the +context. + +.. note:: While Windows and Linux builds of the editor share most of the default settings, + some shortcuts may differ for macOS version. This is done for better integration + of the editor into macOS ecosystem. Users fluent with standard shortcuts on that + OS should find Godot Editor's default key mapping intuitive. + +General Editor Actions +---------------------- + ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++=======================+===============================+==============================+==================================+ +| Open 2D Editor | :kbd:`F1` | :kbd:`Alt + 1` | ``editor/editor_2d`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Open 3D Editor | :kbd:`F2` | :kbd:`Alt + 2` | ``editor/editor_3d`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Open Script Editor | :kbd:`F3` | :kbd:`Alt + 3` | ``editor/editor_script`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Search Help | :kbd:`Shift + F1` | :kbd:`Alt + Space` | ``editor/editor_help`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Distraction Free Mode | :kbd:`Ctrl + Shift + F11` | :kbd:`Cmd + Ctrl + D` | ``editor/distraction_free_mode`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Next tab | :kbd:`Ctrl + Tab` | :kbd:`Cmd + Tab` | ``editor/next_tab`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Previous tab | :kbd:`Ctrl + Shift + Tab` | :kbd:`Cmd + Shift + Tab` | ``editor/prev_tab`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Filter Files | :kbd:`Ctrl + Alt + P` | :kbd:`Cmd + Alt + P` | ``editor/filter_files`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Open Scene | :kbd:`Ctrl + O` | :kbd:`Cmd + O` | ``editor/open_scene`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Close Scene | :kbd:`Ctrl + Shift + W` | :kbd:`Cmd + Shift + W` | ``editor/close_scene`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Reopen Closed Scene | :kbd:`Ctrl + Shift + T` | :kbd:`Cmd + Shift + T` | ``editor/reopen_closed_scene`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Save Scene | :kbd:`Ctrl + S` | :kbd:`Cmd + S` | ``editor/save_scene`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Save Scene As | :kbd:`Ctrl + Shift + S` | :kbd:`Cmd + Shift + S` | ``editor/save_scene_as`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Save All Scenes | :kbd:`Ctrl + Shift + Alt + S` | :kbd:`Cmd + Shift + Alt + S` | ``editor/save_all_scenes`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Quick Open | :kbd:`Shift + Alt + O` | :kbd:`Shift + Alt + O` | ``editor/quick_open`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Quick Open Scene | :kbd:`Ctrl + Shift + O` | :kbd:`Cmd + Shift + O` | ``editor/quick_open_scene`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Quick Open Script | :kbd:`Ctrl + Alt + O` | :kbd:`Cmd + Alt + O` | ``editor/quick_open_script`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Undo | :kbd:`Ctrl + Z` | :kbd:`Cmd + Z` | ``editor/undo`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Redo | :kbd:`Ctrl + Shift + Z` | :kbd:`Cmd + Shift + Z` | ``editor/redo`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Quit | :kbd:`Ctrl + Q` | :kbd:`Cmd + Q` | ``editor/file_quit`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Quit to Project List | :kbd:`Ctrl + Shift + Q` | :kbd:`Shift + Alt + Q` | ``editor/quit_to_project_list`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Take Screenshot | :kbd:`Ctrl + F12` | :kbd:`Cmd + F12` | ``editor/take_screenshot`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Toggle Fullscreen | :kbd:`Shift + F11` | :kbd:`Cmd + Ctrl + F` | ``editor/fullscreen_mode`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Play | :kbd:`F5` | :kbd:`Cmd + B` | ``editor/play`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Pause Scene | :kbd:`F7` | :kbd:`Cmd + Ctrl + Y` | ``editor/pause_scene`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Stop | :kbd:`F8` | :kbd:`Cmd + .` | ``editor/stop`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Play Scene | :kbd:`F6` | :kbd:`Cmd + R` | ``editor/play_scene`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Play Custom Scene | :kbd:`Ctrl + Shift + F5` | :kbd:`Cmd + Shift + R` | ``editor/play_custom_scene`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ +| Expand Bottom Panel | :kbd:`Shift + F12` | :kbd:`Shift + F12` | ``editor/bottom_panel_expand`` | ++-----------------------+-------------------------------+------------------------------+----------------------------------+ + +2D / Canvas Item Editor +----------------------- + ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++==============================+=========================+========================+========================================================+ +| Zoom In | :kbd:`Ctrl + =` | :kbd:`Cmd + =` | ``canvas_item_editor/zoom_plus`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Zoom Out | :kbd:`Ctrl + -` | :kbd:`Cmd + -` | ``canvas_item_editor/zoom_minus`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Zoom Reset | :kbd:`Ctrl + 0` | :kbd:`Cmd + 0` | ``canvas_item_editor/zoom_reset`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Pan View | :kbd:`Space` | :kbd:`Space` | ``canvas_item_editor/pan_view`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Select Mode | :kbd:`Q` | :kbd:`Q` | ``canvas_item_editor/select_mode`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Move Mode | :kbd:`W` | :kbd:`W` | ``canvas_item_editor/move_mode`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Rotate Mode | :kbd:`E` | :kbd:`E` | ``canvas_item_editor/rotate_mode`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Scale Mode | :kbd:`S` | :kbd:`S` | ``canvas_item_editor/scale_mode`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Ruler Mode | :kbd:`R` | :kbd:`R` | ``canvas_item_editor/ruler_mode`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Use Smart Snap | :kbd:`Shift + S` | :kbd:`Shift + S` | ``canvas_item_editor/use_smart_snap`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Use Grid Snap | :kbd:`Shift + G` | :kbd:`Shift + G` | ``canvas_item_editor/use_grid_snap`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Multiply grid step by 2 | :kbd:`Num *` | :kbd:`Num *` | ``canvas_item_editor/multiply_grid_step`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Divide grid step by 2 | :kbd:`Num /` | :kbd:`Num /` | ``canvas_item_editor/divide_grid_step`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Always Show Grid | :kbd:`G` | :kbd:`G` | ``canvas_item_editor/show_grid`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Show Helpers | :kbd:`H` | :kbd:`H` | ``canvas_item_editor/show_helpers`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Show Guides | :kbd:`Y` | :kbd:`Y` | ``canvas_item_editor/show_guides`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Center Selection | :kbd:`F` | :kbd:`F` | ``canvas_item_editor/center_selection`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Frame Selection | :kbd:`Shift + F` | :kbd:`Shift + F` | ``canvas_item_editor/frame_selection`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Preview Canvas Scale | :kbd:`Ctrl + Shift + P` | :kbd:`Cmd + Shift + P` | ``canvas_item_editor/preview_canvas_scale`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Insert Key | :kbd:`Ins` | :kbd:`Ins` | ``canvas_item_editor/anim_insert_key`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Insert Key (Existing Tracks) | :kbd:`Ctrl + Ins` | :kbd:`Cmd + Ins` | ``canvas_item_editor/anim_insert_key_existing_tracks`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Make Custom Bones from Nodes | :kbd:`Ctrl + Shift + B` | :kbd:`Cmd + Shift + B` | ``canvas_item_editor/skeleton_make_bones`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ +| Clear Pose | :kbd:`Shift + K` | :kbd:`Shift + K` | ``canvas_item_editor/anim_clear_pose`` | ++------------------------------+-------------------------+------------------------+--------------------------------------------------------+ + +3D / Spatial Editor +------------------- + ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++====================================+=======================+======================+==================================================+ +| Toggle Freelook | :kbd:`Shift + F` | :kbd:`Shift + F` | ``spatial_editor/freelook_toggle`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Freelook Left | :kbd:`A` | :kbd:`A` | ``spatial_editor/freelook_left`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Freelook Right | :kbd:`D` | :kbd:`D` | ``spatial_editor/freelook_right`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Freelook Forward | :kbd:`W` | :kbd:`W` | ``spatial_editor/freelook_forward`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Freelook Backwards | :kbd:`S` | :kbd:`S` | ``spatial_editor/freelook_backwards`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Freelook Up | :kbd:`E` | :kbd:`E` | ``spatial_editor/freelook_up`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Freelook Down | :kbd:`Q` | :kbd:`Q` | ``spatial_editor/freelook_down`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Freelook Speed Modifier | :kbd:`Shift` | :kbd:`Shift` | ``spatial_editor/freelook_speed_modifier`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Freelook Slow Modifier | :kbd:`Alt` | :kbd:`Alt` | ``spatial_editor/freelook_slow_modifier`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Select Mode | :kbd:`Q` | :kbd:`Q` | ``spatial_editor/tool_select`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Move Mode | :kbd:`W` | :kbd:`W` | ``spatial_editor/tool_move`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Rotate Mode | :kbd:`E` | :kbd:`E` | ``spatial_editor/tool_rotate`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Scale Mode | :kbd:`R` | :kbd:`R` | ``spatial_editor/tool_scale`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Use Local Space | :kbd:`T` | :kbd:`T` | ``spatial_editor/local_coords`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Use Snap | :kbd:`Y` | :kbd:`Y` | ``spatial_editor/snap`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Snap Object to Floor | :kbd:`PgDown` | :kbd:`PgDown` | ``spatial_editor/snap_to_floor`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Top View | :kbd:`Num 7` | :kbd:`Num 7` | ``spatial_editor/top_view`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Bottom View | :kbd:`Alt + Num 7` | :kbd:`Alt + Num 7` | ``spatial_editor/bottom_view`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Front View | :kbd:`Num 1` | :kbd:`Num 1` | ``spatial_editor/front_view`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Rear View | :kbd:`Alt + Num 1` | :kbd:`Alt + Num 1` | ``spatial_editor/rear_view`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Right View | :kbd:`Num 3` | :kbd:`Num 3` | ``spatial_editor/right_view`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Left View | :kbd:`Alt + Num 3` | :kbd:`Alt + Num 3` | ``spatial_editor/left_view`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Switch Perspective/Orthogonal View | :kbd:`Num 5` | :kbd:`Num 5` | ``spatial_editor/switch_perspective_orthogonal`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Insert Animation Key | :kbd:`K` | :kbd:`K` | ``spatial_editor/insert_anim_key`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Focus Origin | :kbd:`O` | :kbd:`O` | ``spatial_editor/focus_origin`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Focus Selection | :kbd:`F` | :kbd:`F` | ``spatial_editor/focus_selection`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Align Transform with View | :kbd:`Ctrl + Alt + M` | :kbd:`Cmd + Alt + M` | ``spatial_editor/align_transform_with_view`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| Align Rotation with View | :kbd:`Ctrl + Alt + F` | :kbd:`Cmd + Alt + F` | ``spatial_editor/align_rotation_with_view`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| 1 Viewport | :kbd:`Ctrl + 1` | :kbd:`Cmd + 1` | ``spatial_editor/1_viewport`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| 2 Viewports | :kbd:`Ctrl + 2` | :kbd:`Cmd + 2` | ``spatial_editor/2_viewports`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| 2 Viewports (Alt) | :kbd:`Ctrl + Alt + 2` | :kbd:`Cmd + Alt + 2` | ``spatial_editor/2_viewports_alt`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| 3 Viewports | :kbd:`Ctrl + 3` | :kbd:`Cmd + 3` | ``spatial_editor/3_viewports`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| 3 Viewports (Alt) | :kbd:`Ctrl + Alt + 3` | :kbd:`Cmd + Alt + 3` | ``spatial_editor/3_viewports_alt`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ +| 4 Viewports | :kbd:`Ctrl + 4` | :kbd:`Cmd + 4` | ``spatial_editor/4_viewports`` | ++------------------------------------+-----------------------+----------------------+--------------------------------------------------+ + +Text Editor +----------- + ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++===========================+==========================+============================+=================================================+ +| Cut | :kbd:`Ctrl + X` | :kbd:`Cmd + X` | ``script_text_editor/cut`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Copy | :kbd:`Ctrl + C` | :kbd:`Cmd + C` | ``script_text_editor/copy`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Paste | :kbd:`Ctrl + V` | :kbd:`Cmd + V` | ``script_text_editor/paste`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Select All | :kbd:`Ctrl + A` | :kbd:`Cmd + A` | ``script_text_editor/select_all`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Find | :kbd:`Ctrl + F` | :kbd:`Cmd + F` | ``script_text_editor/find`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Find Next | :kbd:`F3` | :kbd:`Cmd + G` | ``script_text_editor/find_next`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Find Previous | :kbd:`Shift + F3` | :kbd:`Cmd + Shift + G` | ``script_text_editor/find_previous`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Find in Files | :kbd:`Ctrl + Shift + F` | :kbd:`Cmd + Shift + F` | ``script_text_editor/find_in_files`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Replace | :kbd:`Ctrl + R` | :kbd:`Alt + Cmd + F` | ``script_text_editor/replace`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Replace in Files | :kbd:`Ctrl + Shift + R` | :kbd:`Cmd + Shift + R` | ``script_text_editor/replace_in_files`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Undo | :kbd:`Ctrl + Z` | :kbd:`Cmd + Z` | ``script_text_editor/undo`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Redo | :kbd:`Ctrl + Y` | :kbd:`Cmd + Y` | ``script_text_editor/redo`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Move Up | :kbd:`Alt + Up Arrow` | :kbd:`Alt + Up Arrow` | ``script_text_editor/move_up`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Move Down | :kbd:`Alt + Down Arrow` | :kbd:`Alt + Down Arrow` | ``script_text_editor/move_down`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Delete Line | :kbd:`Ctrl + Shift + K` | :kbd:`Cmd + Shift + K` | ``script_text_editor/delete_line`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Toggle Comment | :kbd:`Ctrl + K` | :kbd:`Cmd + K` | ``script_text_editor/toggle_comment`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Fold/Unfold Line | :kbd:`Alt + F` | :kbd:`Alt + F` | ``script_text_editor/toggle_fold_line`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Clone Down | :kbd:`Ctrl + Shift + C` | :kbd:`Cmd + Shift + C` | ``script_text_editor/clone_down`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Complete Symbol | :kbd:`Ctrl + Space` | :kbd:`Ctrl + Space` | ``script_text_editor/complete_symbol`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Clone Down | :kbd:`Ctrl + D` | :kbd:`Cmd + D` | ``script_text_editor/clone_down`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Complete Symbol | :kbd:`Ctrl + Space` | :kbd:`Cmd + Space` | ``script_text_editor/complete_symbol`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Evaluate Selection | :kbd:`Ctrl + Shift + E` | :kbd:`Cmd + Shift + E` | ``script_text_editor/evaluate_selection`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Trim Trailing Whitespace | :kbd:`Ctrl + Alt + T` | :kbd:`Cmd + Alt + T` | ``script_text_editor/trim_trailing_whitespace`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Uppercase | :kbd:`Shift + F4` | :kbd:`Shift + F4` | ``script_text_editor/convert_to_uppercase`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Lowercase | :kbd:`Shift + F5` | :kbd:`Shift + F5` | ``script_text_editor/convert_to_lowercase`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Capitalize | :kbd:`Shift + F6` | :kbd:`Shift + F6` | ``script_text_editor/capitalize`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Convert Indent to Spaces | :kbd:`Ctrl + Shift + Y` | :kbd:`Cmd + Shift + Y` | ``script_text_editor/convert_indent_to_spaces`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Convert Indent to Tabs | :kbd:`Ctrl + Shift + I` | :kbd:`Cmd + Shift + I` | ``script_text_editor/convert_indent_to_tabs`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Auto Indent | :kbd:`Ctrl + I` | :kbd:`Cmd + I` | ``script_text_editor/auto_indent`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Toggle Bookmark | :kbd:`Ctrl + Alt + B` | :kbd:`Cmd + Alt + B` | ``script_text_editor/toggle_bookmark`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Go to Next Bookmark | :kbd:`Ctrl + B` | :kbd:`Cmd + B` | ``script_text_editor/goto_next_bookmark`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Go to Previous Bookmark | :kbd:`Ctrl + Shift + B` | :kbd:`Cmd + Shift + B` | ``script_text_editor/goto_previous_bookmark`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Go to Function | :kbd:`Ctrl + Alt + F` | :kbd:`Ctrl + Cmd + J` | ``script_text_editor/goto_function`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Go to Line | :kbd:`Ctrl + L` | :kbd:`Cmd + L` | ``script_text_editor/goto_line`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Toggle Breakpoint | :kbd:`F9` | :kbd:`Cmd + Shift + B` | ``script_text_editor/toggle_breakpoint`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Remove All Breakpoints | :kbd:`Ctrl + Shift + F9` | :kbd:`Cmd + Shift + F9` | ``script_text_editor/remove_all_breakpoints`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Go to Next Breakpoint | :kbd:`Ctrl + .` | :kbd:`Cmd + .` | ``script_text_editor/goto_next_breakpoint`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Go to Previous Breakpoint | :kbd:`Ctrl + ,` | :kbd:`Cmd + ,` | ``script_text_editor/goto_previous_breakpoint`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ +| Contextual Help | :kbd:`Alt + F1` | :kbd:`Alt + Shift + Space` | ``script_text_editor/contextual_help`` | ++---------------------------+--------------------------+----------------------------+-------------------------------------------------+ + +Script Editor +------------- + ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++======================+=================================+=================================+========================================+ +| Find | :kbd:`Ctrl + F` | :kbd:`Cmd + F` | ``script_editor/find`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Find Next | :kbd:`F3` | :kbd:`F3` | ``script_editor/find_next`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Find Previous | :kbd:`Shift + F3` | :kbd:`Shift + F3` | ``script_editor/find_previous`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Find in Files | :kbd:`Ctrl + Shift + F` | :kbd:`Cmd + Shift + F` | ``script_editor/find_in_files`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Move Up | :kbd:`Shift + Alt + Up Arrow` | :kbd:`Shift + Alt + Up Arrow` | ``script_editor/window_move_up`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Move Down | :kbd:`Shift + Alt + Down Arrow` | :kbd:`Shift + Alt + Down Arrow` | ``script_editor/window_move_down`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Next Script | :kbd:`Ctrl + Shift + .` | :kbd:`Cmd + Shift + .` | ``script_editor/next_script`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Previous Script | :kbd:`Ctrl + Shift + ,` | :kbd:`Cmd + Shift + ,` | ``script_editor/prev_script`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Reopen Closed Script | :kbd:`Ctrl + Shift + T` | :kbd:`Cmd + Shift + T` | ``script_editor/reopen_closed_script`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Save | :kbd:`Ctrl + Alt + S` | :kbd:`Cmd + Alt + S` | ``script_editor/save`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Save All | :kbd:`Ctrl + Shift + Alt + S` | :kbd:`Cmd + Shift + Alt + S` | ``script_editor/save_all`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Soft Reload Script | :kbd:`Ctrl + Shift + R` | :kbd:`Cmd + Shift + R` | ``script_editor/reload_script_soft`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| History Previous | :kbd:`Alt + Left Arrow` | :kbd:`Alt + Left Arrow` | ``script_editor/history_previous`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| History Next | :kbd:`Alt + Right Arrow` | :kbd:`Alt + Right Arrow` | ``script_editor/history_next`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Close | :kbd:`Ctrl + W` | :kbd:`Cmd + W` | ``script_editor/close_file`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Run | :kbd:`Ctrl + Shift + X` | :kbd:`Cmd + Shift + X` | ``script_editor/run_file`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Toggle Scripts Panel | :kbd:`Ctrl + \\` | :kbd:`Cmd + \\` | ``script_editor/toggle_scripts_panel`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Zoom In | :kbd:`Ctrl + =` | :kbd:`Cmd + =` | ``script_editor/zoom_in`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Zoom Out | :kbd:`Ctrl + -` | :kbd:`Cmd + -` | ``script_editor/zoom_out`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ +| Reset Zoom | :kbd:`Ctrl + 0` | :kbd:`Cmd + 0` | ``script_editor/reset_zoom`` | ++----------------------+---------------------------------+---------------------------------+----------------------------------------+ + +Visual Script Editor +-------------------- + ++-------------------+-----------------+----------------+--------------------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++===================+=================+================+============================================+ +| Find Node Type | :kbd:`Ctrl + F` | :kbd:`Cmd + F` | ``visual_script_editor/find_node_type`` | ++-------------------+-----------------+----------------+--------------------------------------------+ +| Copy Nodes | :kbd:`Ctrl + C` | :kbd:`Cmd + C` | ``visual_script_editor/copy_nodes`` | ++-------------------+-----------------+----------------+--------------------------------------------+ +| Cut Nodes | :kbd:`Ctrl + X` | :kbd:`Cmd + X` | ``visual_script_editor/cut_nodes`` | ++-------------------+-----------------+----------------+--------------------------------------------+ +| Paste Nodes | :kbd:`Ctrl + V` | :kbd:`Cmd + V` | ``visual_script_editor/paste_nodes`` | ++-------------------+-----------------+----------------+--------------------------------------------+ +| Delete Selected | :kbd:`Del` | :kbd:`Del` | ``visual_script_editor/delete_selected`` | ++-------------------+-----------------+----------------+--------------------------------------------+ +| Make Function | :kbd:`Ctrl + G` | :kbd:`Cmd + G` | ``visual_script_editor/create_function`` | ++-------------------+-----------------+----------------+--------------------------------------------+ +| Edit Member | :kbd:`Ctrl + E` | :kbd:`Cmd + E` | ``visual_script_editor/edit_member`` | ++-------------------+-----------------+----------------+--------------------------------------------+ +| Refresh Graph | :kbd:`Ctrl + R` | :kbd:`Cmd + R` | ``visual_script_editor/refresh_nodes`` | ++-------------------+-----------------+----------------+--------------------------------------------+ +| Toggle Breakpoint | :kbd:`F9` | :kbd:`F9` | ``visual_script_editor/toggle_breakpoint`` | ++-------------------+-----------------+----------------+--------------------------------------------+ + +Editor Output +------------- + ++----------------+-------------------------+------------------------+-------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++================+=========================+========================+=========================+ +| Copy Selection | :kbd:`Ctrl + C` | :kbd:`Cmd + C` | ``editor/copy_output`` | ++----------------+-------------------------+------------------------+-------------------------+ +| Clear Output | :kbd:`Ctrl + Shift + K` | :kbd:`Cmd + Shift + K` | ``editor/clear_output`` | ++----------------+-------------------------+------------------------+-------------------------+ + +Debugger +-------- + ++-------------+----------------+------------+------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++=============+================+============+========================+ +| Step Into | :kbd:`F11` | :kbd:`F11` | ``debugger/step_into`` | ++-------------+----------------+------------+------------------------+ +| Step Over | :kbd:`F10` | :kbd:`F10` | ``debugger/step_over`` | ++-------------+----------------+------------+------------------------+ +| Continue | :kbd:`F12` | :kbd:`F12` | ``debugger/continue`` | ++-------------+----------------+------------+------------------------+ + +File Dialog +----------- + ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++=====================+==========================+==========================+=====================================+ +| Go Back | :kbd:`Alt + Left Arrow` | :kbd:`Alt + Left Arrow` | ``file_dialog/go_back`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Go Forward | :kbd:`Alt + Right Arrow` | :kbd:`Alt + Right Arrow` | ``file_dialog/go_forward`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Go Up | :kbd:`Alt + Up Arrow` | :kbd:`Alt + Up Arrow` | ``file_dialog/go_up`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Refresh | :kbd:`F5` | :kbd:`F5` | ``file_dialog/refresh`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Toggle Hidden Files | :kbd:`Ctrl + H` | :kbd:`Cmd + H` | ``file_dialog/toggle_hidden_files`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Toggle Favorite | :kbd:`Alt + F` | :kbd:`Alt + F` | ``file_dialog/toggle_favorite`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Toggle Mode | :kbd:`Alt + V` | :kbd:`Alt + V` | ``file_dialog/toggle_mode`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Create Folder | :kbd:`Ctrl + N` | :kbd:`Cmd + N` | ``file_dialog/create_folder`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Delete | :kbd:`Del` | :kbd:`Del` | ``file_dialog/delete`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Focus Path | :kbd:`Ctrl + D` | :kbd:`Cmd + D` | ``file_dialog/focus_path`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Move Favorite Up | :kbd:`Ctrl + Up Arrow` | :kbd:`Cmd + Up Arrow` | ``file_dialog/move_favorite_up`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ +| Move Favorite Down | :kbd:`Ctrl + Down Arrow` | :kbd:`Cmd + Down Arrow` | ``file_dialog/move_favorite_down`` | ++---------------------+--------------------------+--------------------------+-------------------------------------+ + +FileSystem Dock +--------------- + ++-------------+-----------------+----------------+-------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++=============+=================+================+===============================+ +| Copy Path | :kbd:`Ctrl + C` | :kbd:`Cmd + C` | ``filesystem_dock/copy_path`` | ++-------------+-----------------+----------------+-------------------------------+ +| Duplicate | :kbd:`Ctrl + D` | :kbd:`Cmd + D` | ``filesystem_dock/duplicate`` | ++-------------+-----------------+----------------+-------------------------------+ +| Delete | :kbd:`Del` | :kbd:`Del` | ``filesystem_dock/delete`` | ++-------------+-----------------+----------------+-------------------------------+ + +Scene Tree Dock +--------------- + ++----------------+--------------------------+-------------------------+----------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++================+==========================+=========================+==================================+ +| Add Child Node | :kbd:`Ctrl + A` | :kbd:`Cmd + A` | ``scene_tree/add_child_node`` | ++----------------+--------------------------+-------------------------+----------------------------------+ +| Batch Rename | :kbd:`Ctrl + F2` | :kbd:`Cmd + F2` | ``scene_tree/batch_rename`` | ++----------------+--------------------------+-------------------------+----------------------------------+ +| Copy Node Path | :kbd:`Ctrl + C` | :kbd:`Cmd + C` | ``scene_tree/copy_node_path`` | ++----------------+--------------------------+-------------------------+----------------------------------+ +| Delete | :kbd:`Del` | :kbd:`Del` | ``scene_tree/delete`` | ++----------------+--------------------------+-------------------------+----------------------------------+ +| Force Delete | :kbd:`Shift + Del` | :kbd:`Shift + Del` | ``scene_tree/delete_no_confirm`` | ++----------------+--------------------------+-------------------------+----------------------------------+ +| Duplicate | :kbd:`Ctrl + D` | :kbd:`Cmd + D` | ``scene_tree/duplicate`` | ++----------------+--------------------------+-------------------------+----------------------------------+ +| Move Up | :kbd:`Ctrl + Up Arrow` | :kbd:`Cmd + Up Arrow` | ``scene_tree/move_up`` | ++----------------+--------------------------+-------------------------+----------------------------------+ +| Move Down | :kbd:`Ctrl + Down Arrow` | :kbd:`Cmd + Down Arrow` | ``scene_tree/move_down`` | ++----------------+--------------------------+-------------------------+----------------------------------+ + +Animation Track Editor +---------------------- + ++----------------------+---------------------------+--------------------------+-----------------------------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++======================+===========================+==========================+=====================================================+ +| Duplicate Selection | :kbd:`Ctrl + D` | :kbd:`Cmd + D` | ``animation_editor/duplicate_selection`` | ++----------------------+---------------------------+--------------------------+-----------------------------------------------------+ +| Duplicate Transposed | :kbd:`Ctrl + Shift + D` | :kbd:`Cmd + Shift + D` | ``animation_editor/duplicate_selection_transposed`` | ++----------------------+---------------------------+--------------------------+-----------------------------------------------------+ +| Delete Selection | :kbd:`Del` | :kbd:`Del` | ``animation_editor/delete_selection`` | ++----------------------+---------------------------+--------------------------+-----------------------------------------------------+ +| Go to Next Step | :kbd:`Ctrl + Right Arrow` | :kbd:`Cmd + Right Arrow` | ``animation_editor/goto_next_step`` | ++----------------------+---------------------------+--------------------------+-----------------------------------------------------+ +| Go to Previous Step | :kbd:`Ctrl + Left Arrow` | :kbd:`Cmd + Left Arrow` | ``animation_editor/goto_prev_step`` | ++----------------------+---------------------------+--------------------------+-----------------------------------------------------+ + +Tile Map Editor +--------------- + ++-------------------+-----------------+----------------+-------------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++===================+=================+================+=====================================+ +| Find Tile | :kbd:`Ctrl + F` | :kbd:`Cmd + F` | ``tile_map_editor/find_tile`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Pick Tile | :kbd:`I` | :kbd:`I` | ``tile_map_editor/pick_tile`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Paint Tile | :kbd:`P` | :kbd:`P` | ``tile_map_editor/paint_tile`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Bucket Fill | :kbd:`G` | :kbd:`G` | ``tile_map_editor/bucket_fill`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Transpose | :kbd:`T` | :kbd:`T` | ``tile_map_editor/transpose`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Flip Horizontally | :kbd:`X` | :kbd:`X` | ``tile_map_editor/flip_horizontal`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Flip Vertically | :kbd:`Z` | :kbd:`Z` | ``tile_map_editor/flip_vertical`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Rotate Left | :kbd:`A` | :kbd:`A` | ``tile_map_editor/rotate_left`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Rotate Right | :kbd:`S` | :kbd:`S` | ``tile_map_editor/rotate_right`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Clear Transform | :kbd:`W` | :kbd:`W` | ``tile_map_editor/clear_transform`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Select | :kbd:`M` | :kbd:`M` | ``tile_map_editor/select`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Cut Selection | :kbd:`Ctrl + X` | :kbd:`Cmd + X` | ``tile_map_editor/cut_selection`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Copy Selection | :kbd:`Ctrl + C` | :kbd:`Cmd + C` | ``tile_map_editor/copy_selection`` | ++-------------------+-----------------+----------------+-------------------------------------+ +| Erase Selection | :kbd:`Del` | :kbd:`Del` | ``tile_map_editor/erase_selection`` | ++-------------------+-----------------+----------------+-------------------------------------+ + +Tileset Editor +-------------- + ++---------------------+----------------+---------------+----------------------------------------+ +| Action name | Windows, Linux | macOS | Editor setting | ++=====================+================+===============+========================================+ +| Next Coordinate | :kbd:`PgDown` | :kbd:`PgDown` | ``tileset_editor/next_shape`` | ++---------------------+----------------+---------------+----------------------------------------+ +| Previous Coordinate | :kbd:`PgUp` | :kbd:`PgUp` | ``tileset_editor/previous_shape`` | ++---------------------+----------------+---------------+----------------------------------------+ +| Region Mode | :kbd:`1` | :kbd:`1` | ``tileset_editor/editmode_region`` | ++---------------------+----------------+---------------+----------------------------------------+ +| Collision Mode | :kbd:`2` | :kbd:`2` | ``tileset_editor/editmode_collision`` | ++---------------------+----------------+---------------+----------------------------------------+ +| Occlusion Mode | :kbd:`3` | :kbd:`3` | ``tileset_editor/editmode_occlusion`` | ++---------------------+----------------+---------------+----------------------------------------+ +| Navigation Mode | :kbd:`4` | :kbd:`4` | ``tileset_editor/editmode_navigation`` | ++---------------------+----------------+---------------+----------------------------------------+ +| Bitmask Mode | :kbd:`5` | :kbd:`5` | ``tileset_editor/editmode_bitmask`` | ++---------------------+----------------+---------------+----------------------------------------+ +| Priority Mode | :kbd:`6` | :kbd:`6` | ``tileset_editor/editmode_priority`` | ++---------------------+----------------+---------------+----------------------------------------+ +| Icon Mode | :kbd:`7` | :kbd:`7` | ``tileset_editor/editmode_icon`` | ++---------------------+----------------+---------------+----------------------------------------+ +| Z Index Mode | :kbd:`8` | :kbd:`8` | ``tileset_editor/editmode_z_index`` | ++---------------------+----------------+---------------+----------------------------------------+ diff --git a/getting_started/editor/index.rst b/getting_started/editor/index.rst index 0d8da5045..1c244f837 100644 --- a/getting_started/editor/index.rst +++ b/getting_started/editor/index.rst @@ -8,6 +8,7 @@ Editor manual unity_to_godot command_line_tutorial external_editor + default_key_mapping .. ue4_to_godot .. debugging diff --git a/getting_started/step_by_step/instancing.rst b/getting_started/step_by_step/instancing.rst index a7d54bcf5..73d3409a8 100644 --- a/getting_started/step_by_step/instancing.rst +++ b/getting_started/step_by_step/instancing.rst @@ -79,7 +79,7 @@ Multiple instances You can add as many instances as you like to a scene, either by using the "Instance" button again, or by clicking on the ball instance and pressing -"Duplicate" (:kbd:`Ctrl + D`): +:kbd:`Ctrl + D` (:kbd:`Cmd + D` on macOS) to duplicate it: .. image:: img/instancing_multiball.png