Literal Hotkey For Renaming // hotkeys without Ctrl, Alt or Windows key
Posted: 2023-11-26, 14:36 UTC
Not sure whether this is a bug or a suggestion, since I don't know the intended behaviour in this case.
I want to map cm_RenameOnly to "r". When I press "r", the file name gets selected as expected and I can start typing to rename the file. However, if the desired filename contains "r" and I press it, all previously typed text disappears and gets replaced by a single "r". I assume this happens because cm_RenameOnly is defined to select all text when the renaming text box is already active (at least this is the behaviour for Shift + F6).
In my case, I would find it desirable that typing "r" in the box just appends the letter, getting "escaped". Since F2 and Shift + F6 do not trigger literal symbols, the standard behaviour could be unaffected in these cases.
I guess this may be a philosophical question. Should the hotkey for an action that opens a text box always do selection, if it is already open?
For renaming this seems to be the case, for copying for example it is not. There, F5 for switching the selected text seems to be hardcoded.
Kind regards
I want to map cm_RenameOnly to "r". When I press "r", the file name gets selected as expected and I can start typing to rename the file. However, if the desired filename contains "r" and I press it, all previously typed text disappears and gets replaced by a single "r". I assume this happens because cm_RenameOnly is defined to select all text when the renaming text box is already active (at least this is the behaviour for Shift + F6).
In my case, I would find it desirable that typing "r" in the box just appends the letter, getting "escaped". Since F2 and Shift + F6 do not trigger literal symbols, the standard behaviour could be unaffected in these cases.
I guess this may be a philosophical question. Should the hotkey for an action that opens a text box always do selection, if it is already open?
For renaming this seems to be the case, for copying for example it is not. There, F5 for switching the selected text seems to be hardcoded.
Kind regards