goodmind / sunflower-fm

Automatically exported from code.google.com/p/sunflower-fm
GNU General Public License v3.0
1 stars 0 forks source link

Enable binding keys to command menu item and enhance parameter support #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Feature to execure external visual diff tool (for example meld 
http://meld.sourceforge.net/).

I think it can be setuped in "Preferences->View & Edit" because its a similar 
operations. And it would be nice if user can run diff with selected file from 
both panels. I mean user select one file on the left panel and one file on the 
right, and then diff these files. However user also can select two files on the 
one panel and diff it too.

I can try implement these feature after bread crumbs. 

Original issue reported on code.google.com by sevka.fe...@gmail.com on 18 Oct 2011 at 1:23

GoogleCodeExporter commented 9 years ago
That why commands menu is there. You can create a specific command and execute 
it with left and right selection. For more information on parsing command check 
http://code.google.com/p/sunflower-fm/wiki/ToolsMenu

Original comment by MeanEYE.rcf on 18 Oct 2011 at 1:27

GoogleCodeExporter commented 9 years ago
Ok, I can do something like that in command menu. But:
1. Can I setup key binding for specific command?
2. Can I disble new terminal tab, that appears every time I run command?
3. Can I run command with two selected files on the one panel?

I think diff is not specific command, but required tool like edit or view.

Original comment by sevka.fe...@gmail.com on 18 Oct 2011 at 2:26

GoogleCodeExporter commented 9 years ago
You can't set up any key bindings although idea is great. You can't disable 
terminal tab opening at the moment. We only open terminal tab when application 
being executed is not X based. And no, only one selected file is taken into 
account. This feature needs improvement.

Original comment by MeanEYE.rcf on 18 Oct 2011 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by MeanEYE.rcf on 6 Nov 2011 at 10:12

GoogleCodeExporter commented 9 years ago
So happy sunflower exists, thanks for your work. The most tedious and common 
command a dual-pane manager can help so much, is comparing file diffs. Actually 
a different tool, like meld, does the actual diff, but Sunflower could be so 
awesome if it helped launching a command with a keyboard shortcut on *all 
marked* files.

1) Please allow binding keyboard shortcuts to commands
2) Add a fourth additional variable to commands: "%m, %M - Name of all marked 
items in either list".
3) Add an option to disable the terminal tab that opens on every command execute

If these 3 features are implemented, I could finally get rid of Krusader, and 
totally forget all about Total Commander's awesomeness.. hehe. :)

Original comment by justR...@gmail.com on 29 Dec 2012 at 11:28

GoogleCodeExporter commented 9 years ago
You are welcome. :) Am happy to hear that this little hobby of mine is actually 
useful to someone. Features you are talking about are planned and should be 
implemented soon. However, am the only one currently working on this program, 
so I can't really say how fast they will be implemented as am really limited 
with my free time. But they will be implemented.

Also, terminal tab is opened only in case when command in question is command 
line based command.

Original comment by MeanEYE.rcf on 29 Dec 2012 at 11:34

GoogleCodeExporter commented 9 years ago
Wish I knew Python.

Is there any way the terminal tab can be disabled? It's very annoying if all 
you want to do is run meld or some other GUI application. Is it possible not to 
open it at all ?

Original comment by justR...@gmail.com on 30 Dec 2012 at 12:33

GoogleCodeExporter commented 9 years ago
First to explain the problem. Sunflower checks against which libraries 
executable is linked. If those libraries include X, then it considers 
application to be GUI based and doesn't open terminal. If application doesn't 
have X, terminal tab is opened. 

Recently I've changed some things in this behavior which resulted in terminal 
tab being opened a lot more than it use to. Who knew so many applications are 
started using shell scripts. I do plan on fixing this really fast.

Original comment by MeanEYE.rcf on 30 Dec 2012 at 12:41

GoogleCodeExporter commented 9 years ago
Wouldn't it be more easier and effective to let the user decide if to open the 
terminal tab or not ?

Original comment by justR...@gmail.com on 30 Dec 2012 at 12:49

GoogleCodeExporter commented 9 years ago
In some cases yes. For example if a user has terminal tab disabled, not showing 
it when user executes shell script is a terrible thing to do. 

I agree that at this point terminal tab is annoying (in some cases) and rest 
assured it will be fixed. But as far as I saw it (from other "bug" reports) 
it's concentrated on few applications like VLC, Meld and similar. Can you 
specify which applications in particular do show in terminal tab?

Original comment by MeanEYE.rcf on 30 Dec 2012 at 12:53

GoogleCodeExporter commented 9 years ago
meld, gitk, git gui

Original comment by justR...@gmail.com on 30 Dec 2012 at 1:07

GoogleCodeExporter commented 9 years ago
Issue 279 has been merged into this issue.

Original comment by MeanEYE.rcf on 13 Mar 2013 at 9:38