Download this package and add the following to your
(add-to-list 'load-path "~/path/to/dired-quick-sort") (load "dired-quick-sort.el")
Add the following to your
~/.emacs.d/init.el for a quick setup:
(require 'dired-quick-sort) (dired-quick-sort-setup)
This will bind "S" in dired-mode to invoke the quick sort hydra and new Dired buffers are
automatically sorted according to the setup in this package. See the document of
dired-quick-sort-setup if you need a different setup. It is recommended that at least
be put into
dired-listing-switches. If used with
dired+, you may want to set
diredp-hide-details-initially-flag to nil.
To make full use of this extensions, please make sure that the variable
points to the GNU version of ls.
Bug Report, Feature Request and Contribution
For any other questions and comments, please send them to https://www.topbug.net/blog/2016/08/17/dired-quick-sort-sort-dired-buffers-quickly-in-emacs/ .