algonell
algonell

Reputation: 185

Use vim to Explore Directory in Reverse Order

I'm looking for a way to open a directory by calling vim (netrw) in a reverse order:

vim -c ":E -sort r" ~/some/dir

Upvotes: 0

Views: 118

Answers (1)

algonell
algonell

Reputation: 185

Pass a setting variable:

vim -c "let g:netrw_sort_direction=\"reverse\"" ~/some/dir

Upvotes: 0

Related Questions