diff --git a/README.md b/README.md index 1f4bd18..972409f 100644 --- a/README.md +++ b/README.md @@ -216,6 +216,9 @@ require("oil").setup({ is_always_hidden = function(name, bufnr) return false end, + -- Sort file names in a more intuitive order for humans. Is less performant, + -- so you may want to set to false if you work with large directories. + natural_order = true, sort = { -- sort order can be "asc" or "desc" -- see :help oil-columns to see which columns are sortable diff --git a/doc/oil.txt b/doc/oil.txt index 9e6eec3..176a0cb 100644 --- a/doc/oil.txt +++ b/doc/oil.txt @@ -107,6 +107,9 @@ CONFIG *oil-confi is_always_hidden = function(name, bufnr) return false end, + -- Sort file names in a more intuitive order for humans. Is less performant, + -- so you may want to set to false if you work with large directories. + natural_order = true, sort = { -- sort order can be "asc" or "desc" -- see :help oil-columns to see which columns are sortable