Skip to content

Instantly share code, notes, and snippets.

Created March 22, 2015 17:37
Show Gist options
  • Save anonymous/4fbebeb38a0eaac8e744 to your computer and use it in GitHub Desktop.
Save anonymous/4fbebeb38a0eaac8e744 to your computer and use it in GitHub Desktop.
keymaps_2015_03_22_18-37
import bpy
wm = bpy.context.window_manager
if True:
km = wm.keyconfigs.default.keymaps['Console']
new_shortcut = km.keymap_items.new('console.do_action', 'RET', 'PRESS', ctrl=True)
print('complete')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment