Ticket #2719 (reopened enhancement)
Conditional sort
Reported by: | tempUser | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | Future Releases |
Component: | mc-core | Version: | master |
Keywords: | Sort Sorting | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
I would love to keep the contents of some directories sorted in a different order than the default. For example, according to time instead of alphabetically.
Some gui file managers such as total commander support settings per tab. This is of course not possible with mc as there are no tabs.
But, to implement this in mc, we can have conditional sorting (and maybe other view settings etc) according to the directory.
Can this be implemented, or is there an easy way to achieve the same.
Change History
comment:1 Changed 13 years ago by slavazanko
- Status changed from new to closed
- Resolution set to invalid
comment:2 Changed 13 years ago by tempUser
- Status changed from closed to reopened
- Resolution invalid deleted
I think you didn't understand my request. I know that we can change the sort order through menu -> sort order. This of course changes the sort order for that particular pane, no matter which directory we are in.
I would like to have an option to do "Conditional Sorting" based on the directory we are in. So that we go to a particular directory and instead of manually changing the sort order, mc sorts the contents automatically according to a matching condition specified by the user.
comment:3 Changed 13 years ago by andrew_b
- Priority changed from minor to trivial
- Keywords sort, view, conditional removed
comment:4 Changed 11 months ago by Mintaka
- Keywords Sort Sorting added
I join in wishing for this functionality.
Mostly I use "Sort order" by "[] name", but in few directories i always use sort by "[] Modify time".
I know that in GUI, Sort order can be switched by click on row header, but it is annoying, switch sort order many times every day in same directories and back in others.
Specific functionality could be provided this way:
- Add new item in Left and Right -> Sort Order ... menu
- Item name for example "[] Save DIR state" can save (select) or delete (deselect)
- Actual setting will be saved into "panels.ini" into new section [specific sorting X] (X -> 1,2,3,..)
- first value in this section will be the dir=\full\path
- other values can be same as they are in [New Left Panel]
- sort order will be set automatically after entering to previously sort order save state directory
- sort order will be automatically returned to default, after leaving specific directory