Replies: 1 comment 2 replies
-
I don't quite understand: directories are already (always) shown before files. See (old) screenshot: https://raw.githubusercontent.com/kyazdani42/nvim-tree.lua/master/.github/screenshot2.png autocommands.vim is shown after plugins. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In addition to the
sort_by
configuration, I'd like to be able to show directories before other types of files. So ifsort_by
isname
, then I would see directories sorted by name, followed by other files sorted by name. This is currently possible with NerdTree, but I could not find a way to do this in NvimTree.This type of feature will probably eventually face some scope creep, eg I want to sort certain things first or last. I think NERD Tree addresses it with its
NERDTreeSortOrder
configuration variable. There may be other ways to go about it though.Beta Was this translation helpful? Give feedback.
All reactions