Hacker News new | ask | show | jobs
by mmozeiko 1047 days ago
Make sure you run wxgtk build, not the terminal one. Terminal is limited on what shortcuts it can do. But wxgtk build runs exactly as windows counterpart - Alt+F1/F2 and many other shortcuts work fine.
1 comments

Do you need to self compile? The Linux port (https://github.com/elfmz/far2l) ironically only provides macOS releases... Thank you!
On Ubuntu this seems to be official (?) ppa: https://launchpad.net/~far2l-team/+archive/ubuntu/ppa Make sure "far2l-gui" is installed.

On ArchLinux there's package in AUR: https://aur.archlinux.org/packages/far2l-git (I maintain it).

Don't know details for other distros.

Thank you! On Debian i have found the far2l which seems to work. I am trying to see if far can be a replacement for mc, which has been my goto terminal manager... and i like some of the shortcuts there... like <ctrl>-s and start typing (seems that on far, one can press <esc> and start typing for the same. I have not yet figured out how to (easily) get a file name to the command line or how to make vim the default editor when pressing F4...
Ctrl + "[" , Ctrl + "]" - bring the full path in the left panel or the right panel respectively into the command line (so Ctrl"+"[" and then Ctrl+Enter will bring full file path of the file under the cursor into the command line)

Ctrl + PgUp - move up the folder tree

Ctrl + U - swap panels (so the cursor goes from one panel to another, useful when you operate in 2 folders primarily, saves you an Alt+Tab)

Ctrl + LeftArrow, Ctrl + RightArrow - makes one of the panels larger or smaller

Ctrl + 1,2,3,5 - change panel layout (file name 1 column, file name 2 columns, file name with attributes, file name with more attributes)

etc. There's a lot. Not even mentioning all the plugins built in the last 20 years.

Fun fact: it was written by a 24 yo college student (graduate?..) from Chelyabinsk and was pretty much functionally complete couple years later. The same guy who designed RAR file format and built WinRar around the same time.

Thank you! Much appreciated!

mc has a "list of bookmarked directories", does far supports such a feature, with a shortcut to bring up the dialog to choose an entry from the list? I haven't found such thing... Only to have particular single directory on a shortcut, which means that I would have to remember the number corresponding to each path...

The closest would probably be FAR menu (F2) where menu options can be edited; you can probably just do "cd [name]" for menu options. I believe there's also history of commands issued in "Alt+F8". So... kinda.
Alt + start typing jumps to file/folder with this name.

Ctrl + enter puts currently selected file/folder name into command-line.

Ctrl + O hides panels and shows you "background" with all the previous command outputs.

Custom editor can be set in F9 -> Options -> Editor settings.

Far Manager is one of my "must to have apps" when working on Windows. These days I mostly work on mac and nice to know someone ported it.