Hot Key and extending 10 folder shortcuts

You want to talk about Far Manager, but don't know where to turn?
Post Reply
TreeEnthusiast
Posts: 17
Joined: Tue 05 Oct, 2021 20:18
Has thanked: 10 times
Been thanked: 1 time

Hot Key and extending 10 folder shortcuts

Post by TreeEnthusiast »

Hi,

Is there an official hot key to access the full Folder Shortcuts?

Also, is there a workaround for either extending the Folder Shortcut list past 10 folders, or using another feature that would accomplish the same thing? I have about 27 shortcuts defined in Total Commander, but could probably whittle it down to maybe 15 or so.
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Hot Key and extending 10 folder shortcuts

Post by Shmuel »

TreeEnthusiast wrote: Fri 10 Jun, 2022 15:09 Is there an official hot key to access the full Folder Shortcuts?
It seems there isn't. One can use a macro, e.g. Keys("F9 Home 2*Right Enter End 5*Up Enter")
TreeEnthusiast wrote: Fri 10 Jun, 2022 15:09 is there a workaround for either extending the Folder Shortcut list past 10 folders
There is a choice of plugins and macros for that purpose. Here's one of them: viewtopic.php?t=8465
(The discussion is in Russion but the script has both Russian and English interfaces).
TreeEnthusiast
Posts: 17
Joined: Tue 05 Oct, 2021 20:18
Has thanked: 10 times
Been thanked: 1 time

Hot Key and extending 10 folder shortcuts

Post by TreeEnthusiast »

A macro is fine, thanks Shmuel. I don't know to use them yet, but that's next on the list.

Ok, I'll look at the plugin, thanks.
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Hot Key and extending 10 folder shortcuts

Post by Shmuel »

  1. Execute cd %farprofile%\macros\scripts
  2. Put here a file with any name but extension .lua with the following content:

    Code: Select all

    Macro {
      description="Folder shortcuts";
      area="Shell";
      key="CtrlShiftF1"; -- you can select a different key
      action=function()
        Keys("F9 Home 2*Right Enter End 5*Up Enter")
      end;
    }
  3. Restart Far
With regards to the Bookmark Manager - do the same but create a dedicated directory under %farprofile%\macros\scripts.
TreeEnthusiast
Posts: 17
Joined: Tue 05 Oct, 2021 20:18
Has thanked: 10 times
Been thanked: 1 time

Hot Key and extending 10 folder shortcuts

Post by TreeEnthusiast »

Perfect, I'll implement it this weekend, thanks.
User avatar
HaRT
Moderator
Posts: 10822
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Hot Key and extending 10 folder shortcuts

Post by HaRT »

TreeEnthusiast wrote: Fri 10 Jun, 2022 15:09 is there a workaround for either extending the Folder Shortcut list past 10 folders, or using another feature that would accomplish the same thing? I have about 27 shortcuts defined
You can assign multiple folders to the same directory shortcut, in this case FAR will show a menu of all of them for you to choose one. I use this to group e.g. multiple TEMP locations on RCtrl+9 and multiple Program Files locations on RCtr+4.
Фар есть инструмент, а не нянька. © 2009 DrKnS
TreeEnthusiast
Posts: 17
Joined: Tue 05 Oct, 2021 20:18
Has thanked: 10 times
Been thanked: 1 time

Hot Key and extending 10 folder shortcuts

Post by TreeEnthusiast »

That's interesting. Didn't realize this.

Do we just keep pressing INSERT on the RCtrl row, and it will keep appending a new folder?
Post Reply

Return to “General Discussions”