How to assign a key to "Select All by Trait"? It is not in list
In the preferences, keymaps, navigate to &quot;3D view/Mesh/Mesh (global)&quot;.
Use the &quot;Add New&quot; button and set the keymap like so:

Enter &quot;wm.call_menu&quot;, set the key you want and assign the menu name &quot;VIEW3D_MT_edit_mesh_select_by_trait&quot;.