Skip to content

Instantly share code, notes, and snippets.

@tin2tin
Created October 2, 2023 07:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tin2tin/cf1db1c0058365d5a30c4dab435f636d to your computer and use it in GitHub Desktop.
Save tin2tin/cf1db1c0058365d5a30c4dab435f636d to your computer and use it in GitHub Desktop.
Sort keymap alphabetic
keyconfig_version = (3, 5, 10)
keyconfig_data = \
[("3D View",
{"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
{"items":
[("view3d.cursor3d", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
("transform.translate",
{"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "shift": True},
{"properties":
[("cursor_transform", True),
("release_confirm", True),
],
},
),
("view3d.localview", {"type": 'NUMPAD_SLASH', "value": 'PRESS'}, None),
("view3d.localview", {"type": 'SLASH', "value": 'PRESS'}, None),
("view3d.localview", {"type": 'MOUSESMARTZOOM', "value": 'ANY'}, None),
("view3d.localview_remove_from", {"type": 'NUMPAD_SLASH', "value": 'PRESS', "alt": True}, None),
("view3d.localview_remove_from", {"type": 'SLASH', "value": 'PRESS', "alt": True}, None),
("view3d.rotate", {"type": 'MOUSEROTATE', "value": 'ANY'}, None),
("view3d.rotate", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
("view3d.move", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None),
("view3d.rotate", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
("view3d.move", {"type": 'TRACKPADPAN', "value": 'ANY', "shift": True}, None),
("view3d.zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
("view3d.dolly", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("view3d.view_selected",
{"type": 'NUMPAD_PERIOD', "value": 'PRESS', "ctrl": True},
{"properties":
[("use_all_regions", True),
],
},
),
("view3d.view_selected",
{"type": 'NUMPAD_PERIOD', "value": 'PRESS'},
{"properties":
[("use_all_regions", False),
],
},
),
("view3d.smoothview", {"type": 'TIMER1', "value": 'ANY', "any": True}, None),
("view3d.zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
("view3d.zoom", {"type": 'TRACKPADPAN', "value": 'ANY', "ctrl": True}, None),
("view3d.zoom",
{"type": 'NUMPAD_PLUS', "value": 'PRESS', "repeat": True},
{"properties":
[("delta", 1),
],
},
),
("view3d.zoom",
{"type": 'NUMPAD_MINUS', "value": 'PRESS', "repeat": True},
{"properties":
[("delta", -1),
],
},
),
("view3d.zoom",
{"type": 'EQUAL', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("delta", 1),
],
},
),
("view3d.zoom",
{"type": 'MINUS', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("delta", -1),
],
},
),
("view3d.zoom",
{"type": 'WHEELINMOUSE', "value": 'PRESS'},
{"properties":
[("delta", 1),
],
},
),
("view3d.zoom",
{"type": 'WHEELOUTMOUSE', "value": 'PRESS'},
{"properties":
[("delta", -1),
],
},
),
("view3d.dolly",
{"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True, "repeat": True},
{"properties":
[("delta", 1),
],
},
),
("view3d.dolly",
{"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True, "repeat": True},
{"properties":
[("delta", -1),
],
},
),
("view3d.dolly",
{"type": 'EQUAL', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
{"properties":
[("delta", 1),
],
},
),
("view3d.dolly",
{"type": 'MINUS', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
{"properties":
[("delta", -1),
],
},
),
("view3d.view_center_camera", {"type": 'HOME', "value": 'PRESS'}, None),
("view3d.view_center_lock", {"type": 'HOME', "value": 'PRESS'}, None),
("view3d.view_all",
{"type": 'HOME', "value": 'PRESS'},
{"properties":
[("center", False),
],
},
),
("view3d.view_all",
{"type": 'HOME', "value": 'PRESS', "ctrl": True},
{"properties":
[("use_all_regions", True),
("center", False),
],
},
),
("view3d.view_all",
{"type": 'C', "value": 'PRESS', "shift": True},
{"properties":
[("center", True),
],
},
),
("wm.call_menu_pie",
{"type": 'ACCENT_GRAVE', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_view_pie'),
],
},
),
("view3d.navigate", {"type": 'ACCENT_GRAVE', "value": 'PRESS', "shift": True}, None),
("view3d.view_camera", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
("view3d.view_axis",
{"type": 'NUMPAD_1', "value": 'PRESS'},
{"properties":
[("type", 'FRONT'),
],
},
),
("view3d.view_orbit",
{"type": 'NUMPAD_2', "value": 'PRESS', "repeat": True},
{"properties":
[("type", 'ORBITDOWN'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_3', "value": 'PRESS'},
{"properties":
[("type", 'RIGHT'),
],
},
),
("view3d.view_orbit",
{"type": 'NUMPAD_4', "value": 'PRESS', "repeat": True},
{"properties":
[("type", 'ORBITLEFT'),
],
},
),
("view3d.view_persportho", {"type": 'NUMPAD_5', "value": 'PRESS'}, None),
("view3d.view_orbit",
{"type": 'NUMPAD_6', "value": 'PRESS', "repeat": True},
{"properties":
[("type", 'ORBITRIGHT'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_7', "value": 'PRESS'},
{"properties":
[("type", 'TOP'),
],
},
),
("view3d.view_orbit",
{"type": 'NUMPAD_8', "value": 'PRESS', "repeat": True},
{"properties":
[("type", 'ORBITUP'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_1', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'BACK'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_3', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'LEFT'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_7', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'BOTTOM'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANDOWN'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANLEFT'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_6', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANRIGHT'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True, "repeat": True},
{"properties":
[("type", 'PANUP'),
],
},
),
("view3d.view_roll",
{"type": 'NUMPAD_4', "value": 'PRESS', "shift": True, "repeat": True},
{"properties":
[("type", 'LEFT'),
],
},
),
("view3d.view_roll",
{"type": 'NUMPAD_6', "value": 'PRESS', "shift": True, "repeat": True},
{"properties":
[("type", 'RIGHT'),
],
},
),
("view3d.view_orbit",
{"type": 'NUMPAD_9', "value": 'PRESS'},
{"properties":
[("angle", 3.1415927),
("type", 'ORBITRIGHT'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_1', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'FRONT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_3', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'RIGHT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_7', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'TOP'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_1', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("type", 'BACK'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_3', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("type", 'LEFT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_7', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("type", 'BOTTOM'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'MIDDLEMOUSE', "value": 'CLICK_DRAG', "alt": True, "direction": 'NORTH'},
{"properties":
[("type", 'TOP'),
("relative", True),
],
},
),
("view3d.view_axis",
{"type": 'MIDDLEMOUSE', "value": 'CLICK_DRAG', "alt": True, "direction": 'SOUTH'},
{"properties":
[("type", 'BOTTOM'),
("relative", True),
],
},
),
("view3d.view_axis",
{"type": 'MIDDLEMOUSE', "value": 'CLICK_DRAG', "alt": True, "direction": 'EAST'},
{"properties":
[("type", 'RIGHT'),
("relative", True),
],
},
),
("view3d.view_axis",
{"type": 'MIDDLEMOUSE', "value": 'CLICK_DRAG', "alt": True, "direction": 'WEST'},
{"properties":
[("type", 'LEFT'),
("relative", True),
],
},
),
("view3d.view_center_pick", {"type": 'MIDDLEMOUSE', "value": 'CLICK', "alt": True}, None),
("view3d.ndof_orbit_zoom", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
("view3d.ndof_orbit", {"type": 'NDOF_MOTION', "value": 'ANY', "ctrl": True}, None),
("view3d.ndof_pan", {"type": 'NDOF_MOTION', "value": 'ANY', "shift": True}, None),
("view3d.ndof_all", {"type": 'NDOF_MOTION', "value": 'ANY', "shift": True, "ctrl": True}, None),
("view3d.view_selected",
{"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'},
{"properties":
[("use_all_regions", False),
],
},
),
("view3d.view_roll",
{"type": 'NDOF_BUTTON_ROLL_CW', "value": 'PRESS'},
{"properties":
[("angle", 1.5707964),
],
},
),
("view3d.view_roll",
{"type": 'NDOF_BUTTON_ROLL_CCW', "value": 'PRESS'},
{"properties":
[("angle", -1.5707964),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_FRONT', "value": 'PRESS'},
{"properties":
[("type", 'FRONT'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_BACK', "value": 'PRESS'},
{"properties":
[("type", 'BACK'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_LEFT', "value": 'PRESS'},
{"properties":
[("type", 'LEFT'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_RIGHT', "value": 'PRESS'},
{"properties":
[("type", 'RIGHT'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_TOP', "value": 'PRESS'},
{"properties":
[("type", 'TOP'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_BOTTOM', "value": 'PRESS'},
{"properties":
[("type", 'BOTTOM'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_FRONT', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'FRONT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_RIGHT', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'RIGHT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_TOP', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'TOP'),
("align_active", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK'},
{"properties":
[("deselect_all", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
{"properties":
[("toggle", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
{"properties":
[("center", True),
("object", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
{"properties":
[("enumerate", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
{"properties":
[("toggle", True),
("center", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True, "alt": True},
{"properties":
[("center", True),
("enumerate", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
{"properties":
[("toggle", True),
("enumerate", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True, "alt": True},
{"properties":
[("toggle", True),
("center", True),
("enumerate", True),
],
},
),
("view3d.select_box", {"type": 'B', "value": 'PRESS'}, None),
("view3d.select_lasso",
{"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "ctrl": True},
{"properties":
[("mode", 'ADD'),
],
},
),
("view3d.select_lasso",
{"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "shift": True, "ctrl": True},
{"properties":
[("mode", 'SUB'),
],
},
),
("view3d.select_circle", {"type": 'C', "value": 'PRESS'}, None),
("view3d.clip_border", {"type": 'B', "value": 'PRESS', "alt": True}, None),
("view3d.zoom_border", {"type": 'B', "value": 'PRESS', "shift": True}, None),
("view3d.render_border", {"type": 'B', "value": 'PRESS', "ctrl": True}, None),
("view3d.clear_render_border", {"type": 'B', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("view3d.camera_to_view", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("view3d.object_as_camera", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True}, None),
("view3d.copybuffer", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
("view3d.pastebuffer", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
("transform.translate", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'}, None),
("transform.translate", {"type": 'G', "value": 'PRESS'}, None),
("transform.rotate", {"type": 'R', "value": 'PRESS'}, None),
("transform.resize", {"type": 'S', "value": 'PRESS'}, None),
("transform.tosphere", {"type": 'S', "value": 'PRESS', "shift": True, "alt": True}, None),
("transform.shear", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
("transform.bend", {"type": 'W', "value": 'PRESS', "shift": True}, None),
("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
("object.transform_axis_target", {"type": 'T', "value": 'PRESS', "shift": True}, None),
("transform.skin_resize", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
("wm.context_toggle",
{"type": 'TAB', "value": 'PRESS', "shift": True},
{"properties":
[("data_path", 'tool_settings.use_snap'),
],
},
),
("wm.call_panel",
{"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("name", 'VIEW3D_PT_snapping'),
("keep_open", True),
],
},
),
("wm.call_menu_pie",
{"type": 'S', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_snap_pie'),
],
},
),
("wm.context_toggle",
{"type": 'ACCENT_GRAVE', "value": 'PRESS', "ctrl": True},
{"properties":
[("data_path", 'space_data.show_gizmo'),
],
},
),
("wm.call_menu_pie",
{"type": 'PERIOD', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_pivot_pie'),
],
},
),
("wm.call_menu_pie",
{"type": 'COMMA', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_orientations_pie'),
],
},
),
("wm.call_menu_pie",
{"type": 'Z', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_shading_pie'),
],
},
),
("view3d.toggle_shading",
{"type": 'Z', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'WIREFRAME'),
],
},
),
("view3d.toggle_xray", {"type": 'Z', "value": 'PRESS', "alt": True}, None),
("wm.context_toggle",
{"type": 'Z', "value": 'PRESS', "shift": True, "alt": True},
{"properties":
[("data_path", 'space_data.overlay.show_overlays'),
],
},
),
("wm.tool_set_by_id",
{"type": 'W', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select_box'),
("cycle", True),
],
},
),
("view3d.walk", {"type": 'F10', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True}, None),
],
},
),
("Sequencer",
{"space_type": 'SEQUENCE_EDITOR', "region_type": 'WINDOW'},
{"items":
[("marker.add", {"type": "M", "value": "PRESS"}, None),
(
"screen.animation_cancel",
{"type": "K", "value": "PRESS"},
{"properties": [("restore_frame", False)]},
),
("screen.animation_play", {"type": "L", "value": "PRESS"}, None),
(
"screen.animation_play",
{"type": "J", "value": "PRESS"},
{"properties": [("reverse", True)]},
),
(
"screen.frame_offset",
{"type": "L", "value": "PRESS", "ctrl": True, "repeat": True},
{"properties": [("delta", 5)]},
),
(
"screen.frame_offset",
{"type": "J", "value": "PRESS", "ctrl": True, "repeat": True},
{"properties": [("delta", -5)]},
),
(
"screen.frame_offset",
{"type": "L", "value": "PRESS", "shift": True, "repeat": True},
{"properties": [("delta", 1)]},
),
(
"screen.frame_offset",
{"type": "J", "value": "PRESS", "shift": True, "repeat": True},
{"properties": [("delta", -1)]},
),
("sequencer.copy", {"type": "C", "value": "PRESS", "ctrl": True}, None),
(
"sequencer.crossfade_sounds",
{"type": "D", "value": "PRESS", "shift": True, "ctrl": True},
None,
),
("sequencer.delete", {"type": "X", "value": "PRESS"}, None),
("sequencer.delete", {"type": "DEL", "value": "PRESS"}, None),
("sequencer.duplicate_move", {"type": "D", "value": "PRESS", "shift": True}, None),
(
"sequencer.effect_strip_add",
{"type": "D", "value": "PRESS", "ctrl": True},
{"properties": [("type", "CROSS")]},
),
(
"sequencer.fades_clear",
{"type": "D", "value": "PRESS", "shift": True, "ctrl": True, "alt": True},
None,
),
("sequencer.gap_insert", {"type": "EQUAL", "value": "PRESS", "shift": True}, None),
(
"sequencer.gap_remove",
{"type": "BACK_SPACE", "value": "PRESS"},
{"properties": [("all", False)]},
),
(
"sequencer.gap_remove",
{"type": "BACK_SPACE", "value": "PRESS", "shift": True},
{"properties": [("all", True)]},
),
(
"sequencer.gap_remove",
{"type": "BACK_SPACE", "value": "PRESS", "ctrl": True},
{"properties": [("all", True)]},
),
("sequencer.lock", {"type": "H", "value": "PRESS", "ctrl": True}, None),
("sequencer.meta_make", {"type": "G", "value": "PRESS", "ctrl": True}, None),
(
"sequencer.meta_separate",
{"type": "G", "value": "PRESS", "ctrl": True, "alt": True},
None,
),
("sequencer.meta_toggle", {"type": "TAB", "value": "PRESS"}, None),
(
"sequencer.mute",
{"type": "H", "value": "PRESS"},
{"properties": [("unselected", False)]},
),
(
"sequencer.mute",
{"type": "H", "value": "PRESS", "shift": True},
{"properties": [("unselected", True)]},
),
("sequencer.offset_clear", {"type": "O", "value": "PRESS", "alt": True}, None),
("sequencer.paste", {"type": "V", "value": "PRESS", "ctrl": True}, None),
(
"sequencer.paste",
{"type": "V", "value": "PRESS", "shift": True, "ctrl": True},
{"properties": [("keep_offset", True)]},
),
("sequencer.reassign_inputs", {"type": "R", "value": "PRESS"}, None),
("sequencer.reload", {"type": "R", "value": "PRESS", "alt": True}, None),
(
"sequencer.reload",
{"type": "R", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("adjust_length", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK"},
{"properties": [("deselect_all", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "shift": True},
{"properties": [("toggle", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "alt": True},
{"properties": [("linked_handle", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "shift": True, "alt": True},
{"properties": [("extend", True), ("linked_handle", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "ctrl": True},
{"properties": [("linked_time", True), ("side_of_frame", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "shift": True, "ctrl": True},
{"properties": [("extend", True), ("linked_time", True), ("side_of_frame", True)]},
),
(
"sequencer.select_all",
{"type": "A", "value": "PRESS"},
{"properties": [("action", "SELECT")]},
),
(
"sequencer.select_all",
{"type": "A", "value": "PRESS", "alt": True},
{"properties": [("action", "DESELECT")]},
),
(
"sequencer.select_all",
{"type": "I", "value": "PRESS", "ctrl": True},
{"properties": [("action", "INVERT")]},
),
(
"sequencer.select_all",
{"type": "A", "value": "DOUBLE_CLICK"},
{"properties": [("action", "DESELECT")]},
),
(
"sequencer.select_box",
{"type": "LEFTMOUSE", "value": "CLICK_DRAG"},
{"properties": [("mode", "SET"), ("tweak", True)]},
),
(
"sequencer.select_box",
{"type": "LEFTMOUSE", "value": "CLICK_DRAG", "shift": True},
{"properties": [("mode", "ADD"), ("tweak", True)]},
),
(
"sequencer.select_box",
{"type": "LEFTMOUSE", "value": "CLICK_DRAG", "ctrl": True},
{"properties": [("mode", "SUB"), ("tweak", True)]},
),
("sequencer.select_box", {"type": "B", "value": "PRESS"}, None),
(
"sequencer.select_box",
{"type": "B", "value": "PRESS", "ctrl": True},
{"properties": [("include_handles", True)]},
),
("sequencer.select_grouped", {"type": "G", "value": "PRESS", "shift": True}, None),
(
"sequencer.select_less",
{"type": "NUMPAD_MINUS", "value": "PRESS", "ctrl": True, "repeat": True},
None,
),
(
"sequencer.select_more",
{"type": "NUMPAD_PLUS", "value": "PRESS", "ctrl": True, "repeat": True},
None,
),
(
"sequencer.select_side_of_frame",
{"type": "Y", "value": "PRESS", "ctrl": True, "alt": True},
{"properties": [("side", "LEFT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "Y", "value": "PRESS", "alt": True},
{"properties": [("side", "RIGHT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "D", "value": "PRESS"},
{"properties": [("side", "CURRENT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "Y", "value": "PRESS", "shift": True, "ctrl": True, "alt": True},
{"properties": [("extend", True), ("side", "LEFT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "Y", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("extend", True), ("side", "RIGHT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "D", "value": "PRESS", "shift": True},
{"properties": [("extend", True), ("side", "CURRENT")]},
),
(
"sequencer.set_range_to_strips",
{"type": "R", "value": "PRESS", "ctrl": True, "alt": True, "repeat": True},
None,
),
(
"sequencer.slip",
{"type": "COMMA", "value": "PRESS", "alt": True},
{"properties": [("offset", -1)]},
),
(
"sequencer.slip",
{"type": "COMMA", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("offset", -5)]},
),
(
"sequencer.slip",
{"type": "PERIOD", "value": "PRESS", "alt": True},
{"properties": [("offset", 1)]},
),
(
"sequencer.slip",
{"type": "PERIOD", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("offset", 5)]},
),
("sequencer.slip", {"type": "S", "value": "PRESS"}, None),
("sequencer.slip", {"type": "Y", "value": "PRESS"}, None),
("sequencer.snap", {"type": "S", "value": "PRESS", "shift": True}, None),
(
"sequencer.split",
{"type": "K", "value": "PRESS", "ctrl": True, "repeat": True},
{"properties": [("type", "SOFT"), ("side", "RIGHT")]},
),
(
"sequencer.split",
{"type": "K", "value": "PRESS", "ctrl": True, "alt": True, "repeat": True},
{"properties": [("type", "HARD"), ("side", "RIGHT")]},
),
(
"sequencer.split_multicam",
{"type": "ONE", "value": "PRESS"},
{"properties": [("camera", 1)]},
),
(
"sequencer.split_multicam",
{"type": "TWO", "value": "PRESS"},
{"properties": [("camera", 2)]},
),
(
"sequencer.split_multicam",
{"type": "THREE", "value": "PRESS"},
{"properties": [("camera", 3)]},
),
(
"sequencer.split_multicam",
{"type": "FOUR", "value": "PRESS"},
{"properties": [("camera", 4)]},
),
(
"sequencer.split_multicam",
{"type": "FIVE", "value": "PRESS"},
{"properties": [("camera", 5)]},
),
(
"sequencer.split_multicam",
{"type": "SIX", "value": "PRESS"},
{"properties": [("camera", 6)]},
),
(
"sequencer.split_multicam",
{"type": "SEVEN", "value": "PRESS"},
{"properties": [("camera", 7)]},
),
(
"sequencer.split_multicam",
{"type": "EIGHT", "value": "PRESS"},
{"properties": [("camera", 8)]},
),
(
"sequencer.split_multicam",
{"type": "NINE", "value": "PRESS"},
{"properties": [("camera", 9)]},
),
(
"sequencer.split_multicam",
{"type": "ZERO", "value": "PRESS"},
{"properties": [("camera", 10)]},
),
(
"sequencer.strip_jump",
{"type": "PAGE_UP", "value": "PRESS", "repeat": True},
{"properties": [("next", True), ("center", False)]},
),
(
"sequencer.strip_jump",
{"type": "PAGE_DOWN", "value": "PRESS", "repeat": True},
{"properties": [("next", False), ("center", False)]},
),
(
"sequencer.strip_jump",
{"type": "PAGE_UP", "value": "PRESS", "alt": True, "repeat": True},
{"properties": [("next", True), ("center", True)]},
),
(
"sequencer.strip_jump",
{"type": "PAGE_DOWN", "value": "PRESS", "alt": True, "repeat": True},
{"properties": [("next", False), ("center", True)]},
),
(
"sequencer.swap",
{"type": "LEFT_ARROW", "value": "PRESS", "alt": True, "repeat": True},
{"properties": [("side", "LEFT")]},
),
(
"sequencer.swap",
{"type": "RIGHT_ARROW", "value": "PRESS", "alt": True, "repeat": True},
{"properties": [("side", "RIGHT")]},
),
(
"sequencer.swap",
{"type": "COMMA", "value": "PRESS", "shift": True, "ctrl": True},
{"properties": [("side", "LEFT")]},
),
(
"sequencer.swap",
{"type": "PERIOD", "value": "PRESS", "shift": True, "ctrl": True},
{"properties": [("side", "RIGHT")]},
),
("sequencer.unlock", {"type": "H", "value": "PRESS", "ctrl": True, "alt": True}, None),
(
"sequencer.unmute",
{"type": "H", "value": "PRESS", "alt": True},
{"properties": [("unselected", False)]},
),
(
"sequencer.unmute",
{"type": "H", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("unselected", True)]},
),
("sequencer.view_all", {"type": "HOME", "value": "PRESS"}, None),
("sequencer.view_all", {"type": "NDOF_BUTTON_FIT", "value": "PRESS"}, None),
("sequencer.view_frame", {"type": "NUMPAD_0", "value": "PRESS"}, None),
("sequencer.view_selected", {"type": "NUMPAD_PERIOD", "value": "PRESS"}, None),
(
"sequencer.view_selected",
{"type": "GRLESS", "value": "PRESS", "ctrl": True, "alt": True},
None,
),
(
"transform.seq_slide",
{"type": "G", "value": "PRESS"},
{"properties": [("view2d_edge_pan", True)]},
),
(
"transform.seq_slide",
{"type": "LEFTMOUSE", "value": "CLICK_DRAG"},
{"properties": [("view2d_edge_pan", True)]},
),
(
"transform.transform",
{"type": "E", "value": "PRESS"},
{"properties": [("mode", "TIME_EXTEND")]},
),
("view2d.zoom_in", {"type": "EQUAL", "value": "PRESS"}, None),
("view2d.zoom_out", {"type": "MINUS", "value": "PRESS", "repeat": True}, None),
(
"wm.call_menu",
{"type": "A", "value": "PRESS", "shift": True},
{"properties": [("name", "SEQUENCER_MT_add")]},
),
(
"wm.call_menu",
{"type": "C", "value": "PRESS"},
{"properties": [("name", "SEQUENCER_MT_change")]},
),
(
"wm.call_menu",
{"type": "RIGHTMOUSE", "value": "PRESS"},
{"properties": [("name", "SEQUENCER_MT_context_menu")]},
),
(
"wm.call_menu",
{"type": "APP", "value": "PRESS"},
{"properties": [("name", "SEQUENCER_MT_context_menu")]},
),
(
"wm.call_menu_pie",
{"type": "ACCENT_GRAVE", "value": "PRESS"},
{"properties": [("name", "SEQUENCER_MT_view_pie")]},
),
(
"wm.context_set_int",
{"type": "O", "value": "PRESS"},
{
"properties": [
("data_path", "scene.sequence_editor.overlay_frame"),
("value", 0),
]
},
),
(
"wm.context_toggle",
{"type": "TAB", "value": "PRESS", "shift": True},
{"properties": [("data_path", "tool_settings.use_snap_sequencer")]},
),
(
"wm.context_toggle",
{"type": "Z", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("data_path", "space_data.show_overlays")]},
),
("marker.add", {"type": "M", "value": "PRESS"}, None),
(
"screen.animation_cancel",
{"type": "K", "value": "PRESS"},
{"properties": [("restore_frame", False)]},
),
("screen.animation_play", {"type": "L", "value": "PRESS"}, None),
(
"screen.animation_play",
{"type": "J", "value": "PRESS"},
{"properties": [("reverse", True)]},
),
(
"screen.frame_offset",
{"type": "L", "value": "PRESS", "ctrl": True, "repeat": True},
{"properties": [("delta", 5)]},
),
(
"screen.frame_offset",
{"type": "J", "value": "PRESS", "ctrl": True, "repeat": True},
{"properties": [("delta", -5)]},
),
(
"screen.frame_offset",
{"type": "L", "value": "PRESS", "shift": True, "repeat": True},
{"properties": [("delta", 1)]},
),
(
"screen.frame_offset",
{"type": "J", "value": "PRESS", "shift": True, "repeat": True},
{"properties": [("delta", -1)]},
),
("sequencer.copy", {"type": "C", "value": "PRESS", "ctrl": True}, None),
(
"sequencer.crossfade_sounds",
{"type": "D", "value": "PRESS", "shift": True, "ctrl": True},
None,
),
("sequencer.delete", {"type": "X", "value": "PRESS"}, None),
("sequencer.delete", {"type": "DEL", "value": "PRESS"}, None),
("sequencer.duplicate_move", {"type": "D", "value": "PRESS", "shift": True}, None),
(
"sequencer.effect_strip_add",
{"type": "D", "value": "PRESS", "ctrl": True},
{"properties": [("type", "CROSS")]},
),
(
"sequencer.fades_clear",
{"type": "D", "value": "PRESS", "shift": True, "ctrl": True, "alt": True},
None,
),
("sequencer.gap_insert", {"type": "EQUAL", "value": "PRESS", "shift": True}, None),
(
"sequencer.gap_remove",
{"type": "BACK_SPACE", "value": "PRESS"},
{"properties": [("all", False)]},
),
(
"sequencer.gap_remove",
{"type": "BACK_SPACE", "value": "PRESS", "shift": True},
{"properties": [("all", True)]},
),
(
"sequencer.gap_remove",
{"type": "BACK_SPACE", "value": "PRESS", "ctrl": True},
{"properties": [("all", True)]},
),
("sequencer.lock", {"type": "H", "value": "PRESS", "ctrl": True}, None),
("sequencer.meta_make", {"type": "G", "value": "PRESS", "ctrl": True}, None),
(
"sequencer.meta_separate",
{"type": "G", "value": "PRESS", "ctrl": True, "alt": True},
None,
),
("sequencer.meta_toggle", {"type": "TAB", "value": "PRESS"}, None),
(
"sequencer.mute",
{"type": "H", "value": "PRESS"},
{"properties": [("unselected", False)]},
),
(
"sequencer.mute",
{"type": "H", "value": "PRESS", "shift": True},
{"properties": [("unselected", True)]},
),
("sequencer.offset_clear", {"type": "O", "value": "PRESS", "alt": True}, None),
("sequencer.paste", {"type": "V", "value": "PRESS", "ctrl": True}, None),
(
"sequencer.paste",
{"type": "V", "value": "PRESS", "shift": True, "ctrl": True},
{"properties": [("keep_offset", True)]},
),
("sequencer.reassign_inputs", {"type": "R", "value": "PRESS"}, None),
("sequencer.reload", {"type": "R", "value": "PRESS", "alt": True}, None),
(
"sequencer.reload",
{"type": "R", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("adjust_length", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK"},
{"properties": [("deselect_all", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "shift": True},
{"properties": [("toggle", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "alt": True},
{"properties": [("linked_handle", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "shift": True, "alt": True},
{"properties": [("extend", True), ("linked_handle", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "ctrl": True},
{"properties": [("linked_time", True), ("side_of_frame", True)]},
),
(
"sequencer.select",
{"type": "LEFTMOUSE", "value": "CLICK", "shift": True, "ctrl": True},
{"properties": [("extend", True), ("linked_time", True), ("side_of_frame", True)]},
),
(
"sequencer.select_all",
{"type": "A", "value": "PRESS"},
{"properties": [("action", "SELECT")]},
),
(
"sequencer.select_all",
{"type": "A", "value": "PRESS", "alt": True},
{"properties": [("action", "DESELECT")]},
),
(
"sequencer.select_all",
{"type": "I", "value": "PRESS", "ctrl": True},
{"properties": [("action", "INVERT")]},
),
(
"sequencer.select_all",
{"type": "A", "value": "DOUBLE_CLICK"},
{"properties": [("action", "DESELECT")]},
),
(
"sequencer.select_box",
{"type": "LEFTMOUSE", "value": "CLICK_DRAG"},
{"properties": [("mode", "SET"), ("tweak", True)]},
),
(
"sequencer.select_box",
{"type": "LEFTMOUSE", "value": "CLICK_DRAG", "shift": True},
{"properties": [("mode", "ADD"), ("tweak", True)]},
),
(
"sequencer.select_box",
{"type": "LEFTMOUSE", "value": "CLICK_DRAG", "ctrl": True},
{"properties": [("mode", "SUB"), ("tweak", True)]},
),
("sequencer.select_box", {"type": "B", "value": "PRESS"}, None),
(
"sequencer.select_box",
{"type": "B", "value": "PRESS", "ctrl": True},
{"properties": [("include_handles", True)]},
),
("sequencer.select_grouped", {"type": "G", "value": "PRESS", "shift": True}, None),
(
"sequencer.select_less",
{"type": "NUMPAD_MINUS", "value": "PRESS", "ctrl": True, "repeat": True},
None,
),
(
"sequencer.select_more",
{"type": "NUMPAD_PLUS", "value": "PRESS", "ctrl": True, "repeat": True},
None,
),
(
"sequencer.select_side_of_frame",
{"type": "Y", "value": "PRESS", "ctrl": True, "alt": True},
{"properties": [("side", "LEFT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "Y", "value": "PRESS", "alt": True},
{"properties": [("side", "RIGHT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "D", "value": "PRESS"},
{"properties": [("side", "CURRENT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "Y", "value": "PRESS", "shift": True, "ctrl": True, "alt": True},
{"properties": [("extend", True), ("side", "LEFT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "Y", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("extend", True), ("side", "RIGHT")]},
),
(
"sequencer.select_side_of_frame",
{"type": "D", "value": "PRESS", "shift": True},
{"properties": [("extend", True), ("side", "CURRENT")]},
),
(
"sequencer.set_range_to_strips",
{"type": "R", "value": "PRESS", "ctrl": True, "alt": True, "repeat": True},
None,
),
(
"sequencer.slip",
{"type": "COMMA", "value": "PRESS", "alt": True},
{"properties": [("offset", -1)]},
),
(
"sequencer.slip",
{"type": "COMMA", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("offset", -5)]},
),
(
"sequencer.slip",
{"type": "PERIOD", "value": "PRESS", "alt": True},
{"properties": [("offset", 1)]},
),
(
"sequencer.slip",
{"type": "PERIOD", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("offset", 5)]},
),
("sequencer.slip", {"type": "S", "value": "PRESS"}, None),
("sequencer.slip", {"type": "Y", "value": "PRESS"}, None),
("sequencer.snap", {"type": "S", "value": "PRESS", "shift": True}, None),
(
"sequencer.split",
{"type": "K", "value": "PRESS", "ctrl": True, "repeat": True},
{"properties": [("type", "SOFT"), ("side", "RIGHT")]},
),
(
"sequencer.split",
{"type": "K", "value": "PRESS", "ctrl": True, "alt": True, "repeat": True},
{"properties": [("type", "HARD"), ("side", "RIGHT")]},
),
(
"sequencer.split_multicam",
{"type": "ONE", "value": "PRESS"},
{"properties": [("camera", 1)]},
),
(
"sequencer.split_multicam",
{"type": "TWO", "value": "PRESS"},
{"properties": [("camera", 2)]},
),
(
"sequencer.split_multicam",
{"type": "THREE", "value": "PRESS"},
{"properties": [("camera", 3)]},
),
(
"sequencer.split_multicam",
{"type": "FOUR", "value": "PRESS"},
{"properties": [("camera", 4)]},
),
(
"sequencer.split_multicam",
{"type": "FIVE", "value": "PRESS"},
{"properties": [("camera", 5)]},
),
(
"sequencer.split_multicam",
{"type": "SIX", "value": "PRESS"},
{"properties": [("camera", 6)]},
),
(
"sequencer.split_multicam",
{"type": "SEVEN", "value": "PRESS"},
{"properties": [("camera", 7)]},
),
(
"sequencer.split_multicam",
{"type": "EIGHT", "value": "PRESS"},
{"properties": [("camera", 8)]},
),
(
"sequencer.split_multicam",
{"type": "NINE", "value": "PRESS"},
{"properties": [("camera", 9)]},
),
(
"sequencer.split_multicam",
{"type": "ZERO", "value": "PRESS"},
{"properties": [("camera", 10)]},
),
(
"sequencer.strip_jump",
{"type": "PAGE_UP", "value": "PRESS", "repeat": True},
{"properties": [("next", True), ("center", False)]},
),
(
"sequencer.strip_jump",
{"type": "PAGE_DOWN", "value": "PRESS", "repeat": True},
{"properties": [("next", False), ("center", False)]},
),
(
"sequencer.strip_jump",
{"type": "PAGE_UP", "value": "PRESS", "alt": True, "repeat": True},
{"properties": [("next", True), ("center", True)]},
),
(
"sequencer.strip_jump",
{"type": "PAGE_DOWN", "value": "PRESS", "alt": True, "repeat": True},
{"properties": [("next", False), ("center", True)]},
),
(
"sequencer.swap",
{"type": "LEFT_ARROW", "value": "PRESS", "alt": True, "repeat": True},
{"properties": [("side", "LEFT")]},
),
(
"sequencer.swap",
{"type": "RIGHT_ARROW", "value": "PRESS", "alt": True, "repeat": True},
{"properties": [("side", "RIGHT")]},
),
(
"sequencer.swap",
{"type": "COMMA", "value": "PRESS", "shift": True, "ctrl": True},
{"properties": [("side", "LEFT")]},
),
(
"sequencer.swap",
{"type": "PERIOD", "value": "PRESS", "shift": True, "ctrl": True},
{"properties": [("side", "RIGHT")]},
),
("sequencer.unlock", {"type": "H", "value": "PRESS", "ctrl": True, "alt": True}, None),
(
"sequencer.unmute",
{"type": "H", "value": "PRESS", "alt": True},
{"properties": [("unselected", False)]},
),
(
"sequencer.unmute",
{"type": "H", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("unselected", True)]},
),
("sequencer.view_all", {"type": "HOME", "value": "PRESS"}, None),
("sequencer.view_all", {"type": "NDOF_BUTTON_FIT", "value": "PRESS"}, None),
("sequencer.view_frame", {"type": "NUMPAD_0", "value": "PRESS"}, None),
("sequencer.view_selected", {"type": "NUMPAD_PERIOD", "value": "PRESS"}, None),
(
"sequencer.view_selected",
{"type": "GRLESS", "value": "PRESS", "ctrl": True, "alt": True},
None,
),
(
"transform.seq_slide",
{"type": "G", "value": "PRESS"},
{"properties": [("view2d_edge_pan", True)]},
),
(
"transform.seq_slide",
{"type": "LEFTMOUSE", "value": "CLICK_DRAG"},
{"properties": [("view2d_edge_pan", True)]},
),
(
"transform.transform",
{"type": "E", "value": "PRESS"},
{"properties": [("mode", "TIME_EXTEND")]},
),
("view2d.zoom_in", {"type": "EQUAL", "value": "PRESS"}, None),
("view2d.zoom_out", {"type": "MINUS", "value": "PRESS", "repeat": True}, None),
(
"wm.call_menu",
{"type": "A", "value": "PRESS", "shift": True},
{"properties": [("name", "SEQUENCER_MT_add")]},
),
(
"wm.call_menu",
{"type": "C", "value": "PRESS"},
{"properties": [("name", "SEQUENCER_MT_change")]},
),
(
"wm.call_menu",
{"type": "RIGHTMOUSE", "value": "PRESS"},
{"properties": [("name", "SEQUENCER_MT_context_menu")]},
),
(
"wm.call_menu",
{"type": "APP", "value": "PRESS"},
{"properties": [("name", "SEQUENCER_MT_context_menu")]},
),
(
"wm.call_menu_pie",
{"type": "ACCENT_GRAVE", "value": "PRESS"},
{"properties": [("name", "SEQUENCER_MT_view_pie")]},
),
(
"wm.context_set_int",
{"type": "O", "value": "PRESS"},
{
"properties": [
("data_path", "scene.sequence_editor.overlay_frame"),
("value", 0),
]
},
),
(
"wm.context_toggle",
{"type": "TAB", "value": "PRESS", "shift": True},
{"properties": [("data_path", "tool_settings.use_snap_sequencer")]},
),
(
"wm.context_toggle",
{"type": "Z", "value": "PRESS", "shift": True, "alt": True},
{"properties": [("data_path", "space_data.show_overlays")]},
),
],
},
),
]
if __name__ == "__main__":
# Only add keywords that are supported.
from bpy.app import version as blender_version
keywords = {}
if blender_version >= (2, 92, 0):
keywords["keyconfig_version"] = keyconfig_version
import os
from bl_keymap_utils.io import keyconfig_import_from_data
keyconfig_import_from_data(
os.path.splitext(os.path.basename(__file__))[0],
keyconfig_data,
**keywords,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment