Change keyboard hotkey assignments Topic is solved

You have encountered a problem using Far Manager? Here you can get help.
Post Reply
magicsam
Posts: 2
Joined: Tue 25 Sep, 2018 18:23

Change keyboard hotkey assignments

Post by magicsam » Tue 25 Sep, 2018 18:28

I've been using Far Manager happily for years...

Until I bought a new tenkeyless (tkl) keyboard a few days which is missing the numeric part.

I use the following hotkeys a lot:
Select group - Gray +
Unselect group - Gray -
Invert selection - Gray *

My new keyboard have these keys anymore, any idea how I can assign other shortcuts to these commands?

Thanks!

Shmuel
Posts: 5598
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 21 times
Been thanked: 186 times

Change keyboard hotkey assignments

Post by Shmuel » Tue 25 Sep, 2018 18:37

Use the following macros. Put in your preferred keys instead "choose your key".

Code: Select all

Macro {
  description="Gray + replacement"
  area="Common"; key="choose your key";
  action=function() Keys("Add") end;
}
Macro {
  description="Gray - replacement"
  area="Common"; key="choose your key";
  action=function() Keys("Subtract") end;
}
Macro {
  description="Gray * replacement"
  area="Common"; key="choose your key";
  action=function() Keys("Multiply") end;
}

User avatar
HaRT
Moderator
Posts: 8526
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 75 times
Been thanked: 138 times

Change keyboard hotkey assignments

Post by HaRT » Tue 25 Sep, 2018 18:53

Related topic in Russian: viewtopic.php?f=4&t=8024
Фар есть инструмент, а не нянька. © 2009 DrKnS

magicsam
Posts: 2
Joined: Tue 25 Sep, 2018 18:23

Change keyboard hotkey assignments

Post by magicsam » Sat 29 Sep, 2018 11:02

That's a great work-around that I hadn't thought of myself.
Thanks for sharing!

Post Reply

Return to “Support and Troubleshooting”