Friday, March 6, 2015

Sort by file extension in netrw?

Is it possible to sort by file extension in netrw?

I cycled the sort sequence with 's' in my netrw tree and was surprised to see "by extension" is not in the various sort methods. Only name, time, and size.

I looked in the help found the g:netrw_sort_sequence but that just looks like a way to pull out specific file patterns and put them at the top. I did eventually accomplish the task I was trying to do using this option (actually using the 'S' mapping), by pulling the one set of files I wanted to the top, but I wonder in general if I can easily group all files by extension.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment