Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Viewing all articles
Browse latest Browse all 11063

dired-quick-sort: Sort Dired Buffers Quickly in Emacs

$
0
0
Configuration

You can add the following to your ~/.emacs or ~/.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 criterion that was used to sort last time. 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 .


Viewing all articles
Browse latest Browse all 11063

Trending Articles