Add more word delimiters for file rename
Moderators: petermad, Stefan2, Hacker
Add more word delimiters for file rename
Hello.
I'm encountering an issue when renaming files under the cursor with Shift+F6 shortcut or cm_RenameSingleFile command. When I try to move the cursor by word boundaries using Ctrl+Left or Right, Total Commander doesn't recognize "_.,@#)]" characters as word delimiters. And since underscore and dot characters are often used instead of <space> in filenames, it's REALLY inconvenient.
Some characters, such as <space>, -, !, ( or [, are considered word separators, and cursor stops at them. <minus> are more special when others, cursor stops before and after it.
If I invoke the Copy or Move dialog with F5/F6, and trying to move cursor word by word, it correctly stops at all word separator characters.
Please, consider making changes so more symbols are counted as word delimiters at file rename.
Thank you.
I'm encountering an issue when renaming files under the cursor with Shift+F6 shortcut or cm_RenameSingleFile command. When I try to move the cursor by word boundaries using Ctrl+Left or Right, Total Commander doesn't recognize "_.,@#)]" characters as word delimiters. And since underscore and dot characters are often used instead of <space> in filenames, it's REALLY inconvenient.
Some characters, such as <space>, -, !, ( or [, are considered word separators, and cursor stops at them. <minus> are more special when others, cursor stops before and after it.
If I invoke the Copy or Move dialog with F5/F6, and trying to move cursor word by word, it correctly stops at all word separator characters.
Please, consider making changes so more symbols are counted as word delimiters at file rename.
Thank you.
- ghisler(Author)
- Site Admin

- Posts: 53162
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Add more word delimiters for file rename
That's odd, here is the list of stop characters I currently use:
So the underscore, dot, comma, and closing braces and brackets are definitely included.
Not included are @ and #.
Maybe you are using an older version? Versions before 11.00 used the following only:
But even then it included the underscore.
Code: Select all
\/ (),.;='^+-%&!_[]{}Not included are @ and #.
Maybe you are using an older version? Versions before 11.00 used the following only:
Code: Select all
\/ _.-Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Add more word delimiters for file rename
I have ver. 11.57 installed.
For test I install fresh downloaded 64bit 11.57 with all default settings on Windows 11 VM 25H2 (26200.8655) and create file with name
Shift+F6 on file -> name and extension became selected -> Ctrl+Left -> cursor jump before 15 -> after 14 -> after 12 -> after 10 -> before 2 -> and finally before 1
If I press F6 and when start pressing Ctrl+Left cursor stops before txt and when before every number.
On my main installation I have exactly same results.
For test I install fresh downloaded 64bit 11.57 with all default settings on Windows 11 VM 25H2 (26200.8655) and create file with name
Code: Select all
1 2.3,4_5@6$7%8^9&10(11)12[13]14-15=16.txtIf I press F6 and when start pressing Ctrl+Left cursor stops before txt and when before every number.
On my main installation I have exactly same results.
- ghisler(Author)
- Site Admin

- Posts: 53162
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Add more word delimiters for file rename
Sorry, I forgot that the internal Ctrl key handler is disabled by default. In this case, it's handled entirely by the Windows edit box.
You can enable the internal handler by adding
CtrlArrow=1
to the wincmd.ini section [Configuration].
F6 behaves differently because there I'm using auto-complete, and the auto-complete handler also takes over the Ctrl+Cursor handling. There is no reasonable usage of auto-complete in Shift+F6, so I can't use it there...
You can enable the internal handler by adding
CtrlArrow=1
to the wincmd.ini section [Configuration].
F6 behaves differently because there I'm using auto-complete, and the auto-complete handler also takes over the Ctrl+Cursor handling. There is no reasonable usage of auto-complete in Shift+F6, so I can't use it there...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Add more word delimiters for file rename
Even with this trick 6 7 numbers not used((((You can enable the internal handler by adding
CtrlArrow=1
F6 behaves correctly - all numbers were used
#146217 personal license
- ghisler(Author)
- Site Admin

- Posts: 53162
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Add more word delimiters for file rename
As I wrote above, @ and # are not included in the list.
Any others I should include?
Any others I should include?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Add more word delimiters for file rename
for now we can compare behavior only with autocomplete from F6 - so for now only these 2 are needed.
all other possible chars will be already "person-linked" - according to person's current needs.
all other possible chars will be already "person-linked" - according to person's current needs.
Last edited by AntonyD on 2026-06-15, 12:45 UTC, edited 1 time in total.
#146217 personal license
Re: Add more word delimiters for file rename
CtrlArrow did the magic for me.
Thank you!
Thank you!
- ghisler(Author)
- Site Admin

- Posts: 53162
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Add more word delimiters for file rename
OK, I will add @ and # to the next beta version.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Add more word delimiters for file rename
IF @ and # WERE added - then I don't understand HOW these chars can help in this:
1 .2 ,3 _4 @5 $6 %7 ^8 &9 (10 )11 [12 ]13 -14 =15 #16 ;17 +18 ~19 !21 {22 }23 '24 `25.txt
in this test string I still can't reach 7 * and 19 and 25
looks like we have to use $ by default and ~ and ` as delimiter?
autocomplete from F6 definitely uses these chars by default.
P.S.
Correction *
Indeed - I was wrong - I can't reach 6.
1 .2 ,3 _4 @5 $6 %7 ^8 &9 (10 )11 [12 ]13 -14 =15 #16 ;17 +18 ~19 !21 {22 }23 '24 `25.txt
in this test string I still can't reach 7 * and 19 and 25
looks like we have to use $ by default and ~ and ` as delimiter?
autocomplete from F6 definitely uses these chars by default.
P.S.
Correction *
Indeed - I was wrong - I can't reach 6.
Last edited by AntonyD on 2026-07-01, 08:21 UTC, edited 1 time in total.
#146217 personal license
- ghisler(Author)
- Site Admin

- Posts: 53162
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Add more word delimiters for file rename
Here I can't reach 6, 19 and 25. But that's because $, ~ and ` aren't in the above list.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Add more word delimiters for file rename
You are right & I missed. I can't reach 6 too, not 7. And yes - that's because these chars are not delimiters by default.
+ As far as I understand, the question of the topic is whether we are adjusting the encoded behavior for SHIFT+F6 to match
the built-in one for F6 — it turns out that we are also missing exactly these characters. So can we add them?
+ As far as I understand, the question of the topic is whether we are adjusting the encoded behavior for SHIFT+F6 to match
the built-in one for F6 — it turns out that we are also missing exactly these characters. So can we add them?
#146217 personal license

