Keyboard shortcut to rename selected objects

 From:  andrewsimper
6649.1 
Is there a command that I can assign to a keyboard shortcut to rename objects?

I had a look in the commands folder but couldn't find anything, no mention of name / rename and no matching string ".name" inside any of the files there.