Persistent quick sorting of Emacs Dired buffers in various ways with hydra. https://www.topbug.net/blog/2016/08/17/dired-quick-sort-sort-dired-buffers-quickly-in-emacs/

1845f978 Update doc. · by Hong
Name Last Update
.gitignore Loading commit data...
COPYING Loading commit data...
README.md Loading commit data...
dired-quick-sort.el Loading commit data...
screenshot.png Loading commit data...


This Emacs package provides persistent quick sorting of Dired buffers in various ways with hydra.




dired-quick-sort can be installed from the MELPA repository. Follow the instructions to set up MELPA and then run package-install RET dired-quick-sort RET to install.


dired-quick-sort can be installed via el-get. Follow the instructions to set up el-get and then run el-get-install RET dired-quick-sort RET to install.

Manual Installation

Download this package and add the following to your ~/.emacs or ~/.emacs.d/init.el:

(add-to-list 'load-path "~/path/to/dired-quick-sort")
(load "dired-quick-sort.el")


Add the following to your ~/.emacs or ~/.emacs.d/init.el for a quick setup:

(require 'dired-quick-sort)

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 -l should 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 insert-directory-program points to the GNU version of ls.

Bug Report, Feature Request and Contribution

Please report all bugs and feature requests to the issue tracker. To contribute, please create a merge request.

Questions? Comments?

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/ .