Renaming with F2, why such a pain, and how do I fix it?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
andreasdr2
Junior Member
Junior Member
Posts: 2
Joined: 2003-06-30, 17:14 UTC

Renaming with F2, why such a pain, and how do I fix it?

Post by *andreasdr2 »

Pressing F2 to rename a file doesn't work at once, you need to press F2, click with the mouse on the file and then press F2 again for it to work.
Why is it like that?

I want it to work lika SHIFT+F6, how do I do that?

I saw this in the FAQ:
Q: Is it possible to use F2 for renaming (as in Explorer)?
A: Yes, you can re-map keyboard shortcuts through Configuration - Options - Misc - Redefine hotkeys. The command for renaming is cm_RenameOnly .

But it doesn't work!
There's nowhere to type in "cm_RenameOnly" and the only thing I can choose in the menu "Commands" is "Default command (no remapping)"

Appreciate your help!
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Re: Renaming with F2, why such a pain, and how do I fix it?

Post by *djk »

andreasdr2 wrote:But it doesn't work!
There's nowhere to type in "cm_RenameOnly" and the only thing I can choose in the menu "Commands" is "Default command (no remapping)"
Choose the shortcut first, eg. F2 - then the set of commands will become active.

If still doesn't work you can manually edit the wincmd.ini and add to it the next lines:

Code: Select all

[shortcuts] 
F2=1002
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Post by *pdavit »

You can also try a delayed left-click on the file to be renamed.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
andreasdr2
Junior Member
Junior Member
Posts: 2
Joined: 2003-06-30, 17:14 UTC

Re: Renaming with F2, why such a pain, and how do I fix it?

Post by *andreasdr2 »

djk: Thanks a lot! It worked.
Post Reply