Can I program a direct short-cut (keyboard) for the functions "cursor to selected" and "selection to cursor"? Couldn't find them under the User Preference/Input tab. I know they're under Shift+S, but then I still have to select from the pull-down menu, and that is too cumbersome.
2 Answers
Bring up your snap menu with Shift+S.
Hover your mouse over 'cursor to selected', and then click on it with the RMB . You will see an option to either add or change the keyboard shortcut.
Hover your mouse over the box that appears, (it should tell you to press a key), and then press the desired shortcut one key at a time while still holding them down to create your new shortcut.
Make sure to save your new shortcut as defaults by going to user preferences by pressing Ctrl+Alt+U, and then save user settings.
In 2.8 and later, you can add a new shortcut to Quick Favorites which will give you a small menu with the keyboard shortcut Q
Simply RMB and select Add to Quick Favorites from the choices that appear.
-
4$\begingroup$ Gifs may make your answers clearer. Read here how to create them: meta.blender.stackexchange.com/questions/963/… $\endgroup$ Commented Dec 16, 2015 at 20:28
Make a user-defined keyboard shortcut.
I sacrifice the default shortcut for To Sphere (shift+alt+S) and made it bpy.ops.view3d.snap_cursor_to_selected()
instead.
-
$\begingroup$ You don't need to sacrifice, there is "Add new..." button visible $\endgroup$– sheerunCommented Dec 2, 2022 at 1:16
1
for the top entry,2
for the second,3
for the third, etc.). Or you can use the letter key corresponding to the underlined letter in the entry you want. For example bothShift S
2
andShift S
T
will snap the selection to the cursor. $\endgroup$