Finder - Keyboard shortcut to rename file
In Windows File Explorer, you can rename a selected file by pressing F2. Is there an equivalent shortcut for macOS Finder?
The Return ⏎ or Enter ⌅ key will activate rename. So will a second click [so long as it's too slow to be recognised as a double-click] Once changed, Enter, Return, or simply clicking anywhere else will complete the task.
Whilst in edit mode, all the usual text selection routines [combinations of arrow keys, crtl, opt & shift] will work, the same as in TextEdit etc.
If you accidentally activate rename or realise you have typed something you shouldn't, Esc will get you out of jail free.