Inline file rename by words?

Is it possible to rename a file name similarly to Double Commander?
doublecmd_SP3C2hSeIy_2025-06-04_17.10

Basically, by pressing F2, Double Commander automatically starts selecting the whole file name first, then each word in it.

Yes. Try F2, then Ctrl-S.

For details, go to Preferences / File Operations / Renaming Files / Control Keys.

1 Like

Thanks, @lxp!

After further testing, it turns out that Directory Opus' inline rename doesn't work like Double Commander's.

Here's the limitation.
Double Commander
doublecmd_uPzAOGBPrm_2025-06-08_11.49

Directory Opus
dopus_Y35WWD8z0S_2025-06-08_11.49

If dashes or underscores are presents in the file name, Directory Opus will select the whole text string.

It's not a limitation, you just need to dial in the regex. It can be as short as

[\w]+

To exclude the underscore, use

[a-zA-Z0-9]+

No need to modify Ctrl+S here of course, F2 or any other key will work just as well.

Another option: [^\s\.-]+

Thank you both for helping @lxp @PassThePeas !
That worked.