coc-explorer icon indicating copy to clipboard operation
coc-explorer copied to clipboard

[Feature Request] Support the `explorer.sortOrder` like option

Open StrayDragon opened this issue 5 years ago β€’ 2 comments

In the current version of coc-explorer, I had tried to check the corresponding options in the documentation, but unfortunately I didn't find it (if it exists, please tell me quietly ... Β΄ β–½ ` )οΎ‰)

I found that the order now displayed in the explorer is lexicographic, but sometimes we want to sort by type, especially in some directories full of configuration file types, like the features provided by vscode DeepinScreenshot_select-area_20200212152224

This coc plugin is really awesome, replacing some of my old plugins or key bindings, thanks!

StrayDragon avatar Feb 12 '20 07:02 StrayDragon

Alphanumeric sorting is also useful.

Rizhiy avatar Sep 10 '20 22:09 Rizhiy

The venerable Vim plugin bufexplorer offers several sorting options:

" s : cycle thru "sort by" fields ['number', 'name', 'fullpath', 'mru', 'extension']

Where:

  • number: Buffer number
  • name: Filename
  • fullpath: Full pathname of file
  • mru: Most recently used
  • extension: Group by file extension.

Of these, I'd most like 'fullpath' and 'extension' options for coc-explorer's buffer list.

ewhac avatar May 31 '22 23:05 ewhac