Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sorting key map and toggle ascending /descending #414

Closed
fab6 opened this issue Jan 20, 2018 · 4 comments
Closed

sorting key map and toggle ascending /descending #414

fab6 opened this issue Jan 20, 2018 · 4 comments

Comments

@fab6
Copy link

fab6 commented Jan 20, 2018

Hi,
I am aware of the sorting key S in combination with the unite interface.
Is there an option to set eg. the keys ";sd" to sort for date/time and ";sn" to sort for name?
And maybe chaning the sorting direction by ";sD" and ";sN".
This would be quite helpful.
Thanks!

@fab6
Copy link
Author

fab6 commented Jan 21, 2018

Hi,
me again, I think I am a bit closer to it... I tried to adjust the profile by using:
:call vimfiler#custom#profile('default','context',{'sort-type':'time'})

Though, this does not have any impact at all.

@Shougo
Copy link
Owner

Shougo commented Jan 22, 2018

call vimfiler#custom#profile('default','context',{'sort_type':'time'})

And it just change the initial sort configuration.
It is not changed dynamically.

So the feature cannot be supported.
vimfiler development is already done.

It should be supported in defx.nvim.

@Shougo
Copy link
Owner

Shougo commented Jan 22, 2018

denite already supports the feature though.

<denite:toggle_sorters:{arg}>

@fab6
Copy link
Author

fab6 commented Jan 23, 2018

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants