remap up and down?

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
dsscicin
Junior Member
Junior Member
Posts: 19
Joined: 2009-11-03, 13:15 UTC

remap up and down?

Post by *dsscicin »

Wish ++:
Up and down (even left and right) could be remaped to any other keys.
for example:
K→ cm_CurserMoveUp
J → cm_CurSerMoveDown
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hm, Total Commander is not the *nix editor vi. So there is no edit and command mode.
Hence: how are you going to type file and folder names which hold the letters j or k after you have instructed Total Commander to interpret j and k as cursor down and cursor up?
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

2dsscicin
You should use PowerPro - it can reassign any keys to any actions.

2karlchen
Don't you understand? Keys k and j are assigned to moving cursor down and up! It's so simple! ;)
Single user license #329241
PowerPro scripts for Total Commander
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3379
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

Vochomurka wrote:2karlchen
Don't you understand? Keys k and j are assigned to moving cursor down and up! It's so simple! ;)
You dont - if j = cursor up and k = cursor down
(wich imho is completly stupid wtf remaps cursor keys? ^^)
how do you enter the letters j&k into file/dir-names in tc????
Hoecker sie sind raus!
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

completly stupid
Fully agree. Above it was a joke, as an emoticon shows.

To be serious, if you mutually exchange Up and j, and Down and k, respectively, there is no problem in entering letters and moving cursor. For example, to type "john kennedy" you type [Up]ohn[Space]{down]ennedy". You can try it with any program allowing to redefine keys (e.g. EmEditor or even TC). I've just successfully reassigned PgUp...
Single user license #329241
PowerPro scripts for Total Commander
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

how do you enter the letters j&k into file/dir-names in tc
If you are referring to entering letters for Quick Search then just change Quick Search to be evoked by Alt+letter, Ctrl+Alt+Letter or use Ctrl+S.

For other input TC does not remap keys when you are in dialog boxes, command line etc. Remapping only takes place when you are in a file panel.

So providing internal commands like cm_cursorUp or cm_CursorDown for cursor movements would be feasible for remapping.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply