alloy / macvim

MacVim with file browser
https://github.com/alloy/macvim/wiki
599 stars 37 forks source link

Directories on top #45

Closed honza closed 13 years ago

honza commented 13 years ago

Is there a way to show directories on top and then files? Thanks

alloy commented 13 years ago

Nope sorry, because that’s not what the OS X way is.

sc68cal commented 13 years ago

I beg to differ - Xfile

honza commented 13 years ago

I was unaware. I shall submit to the ways of the great Mac OSX.

alloy commented 13 years ago

@sc68cal By which I mean the default behavior of the Finder and file panels etc, not a third party tool. Also note that this has nothing to do with if I would prefer the one over the other personally, I have no strong feeling for the one over the other, but doing what the standard of the platform is.

sc68cal commented 13 years ago

You are still incorrect. Finder and file panels can still sort by "Kind" which groups directories together near the top.You really don't understand what the "standard of the platform is", so please stop using it as an excuse to close issues.

More to the point: If someone were to go out and make a patch that does this, would you refuse to accept it?

sc68cal commented 13 years ago

Here's a trivial example of how to accomplish this.

Note that I skip using NSFileManager because currently your code grinds to a halt in large directories, notably expanding /usr/share/man

alloy commented 13 years ago

You are still incorrect. Finder and file panels can still sort by "Kind" which groups directories together near the top.

Let me get this straight. You are saying that I’m incorrect in that “the default behavior is to not sort by kind” and then you justify that by saying that it can be achieved by telling me that you can deviate from the default behavior? Do you understand the meaning of “default behavior”? That was a rhetorical question, you apparently don’t.

You really don't understand what the "standard of the platform is", so please stop using it as an excuse to close issues.

Three things: First, I don’t owe you shit, so if I decide to close an issue I will. Second, I understand what I said and mean, you don’t, see above, Third, ‘issues’ is the plural form, this is one ticket, I guess you thought that exaggerating your point would make it more worth, but it’s still worthless.

More to the point: If someone were to go out and make a patch that does this, would you refuse to accept it?

Feel free to create a patch, I have never said anything about not accepting it. But one hint, a ‘trivial example’ has nothing to do with design, which is where most time is spent, implementing just the sorting is something anyone can do.

Unless you decide to not be a douchebag, I have no intent on continuing any discussion with you. Learn some social skills.

simonwhitaker commented 13 years ago

I would like to see files ordered by the primary colour of their icons, in rainbow order, with a unicorn leaping through them.

But I expect you're going to say that this is "not the OS X way", either. That's lame.

Pewpewarrows commented 12 years ago

Why not provide an option to show directories first?

alloy commented 12 years ago

If someone creates a patch that does that and has an option in, for instance, the contextual menu, then I will apply it.