IgnorantGuru / spacefm

SpaceFM File Manager
http://ignorantguru.github.com/spacefm/
GNU General Public License v3.0
489 stars 73 forks source link

Double pane file manager functionality (Midnight Commander like) #41

Closed jpfleury closed 11 years ago

jpfleury commented 12 years ago

Note: this is a copy of the ticket 88029 on the SourceForge tracker originally created by Anonymous.

It will be very cool if you could add the standart double pane file manager functionality with the standart shortcuts like F3 view, F5 - copy ....

To this day there is just one filemanager with brief view and the standart double pane behaviour - Midnight Commander. It owuld be grat to have one with GTK/Qt interface.

jpfleury commented 12 years ago

Note: this is a copy of a comment from IgnorantGuru.

You can copy between panels using right-click Edit > Copy To > Panel > xxx. And you can set that to F5 using View|Design Mode.

You can also create custom commands to do this and much more. And you can set shortcut keys to whatever you like. Have a look through the Design Mode section of the manual.

Custom commands should be able to do anything you want, and if they can't, let me know what you think can't be done.

I haven't had a chance to create many custom commands myself yet, but I do have one, for example, that compares the first selected file in panel 1 to the first selected file in panel 2. It's just a quick custom command line that I wrote on the fly:

cmp "${fm_panel1_files[0]}" "${fm_panel2_files[0]}"

It needs some more feedback for the user, etc., but even this simple command is already useful to me. It appears on my right-click menu just below New. With default settings, if the command produces any error, a popup is raised.

Spacefm has a fairly simple UI by design, but it can be easily extended and handle a great deal more functionality and complexity, so don't underestimate it. If you want 'midnight commander spacefm', I suggest you start designing it. You could even one day share the session file or some of the commands as plugins so others can try your design. You do not need to be a programmer to use Design Mode.

Thanks for your feedback.

Last edit: IgnorantGuru 2012-02-21