emacs dired fixups

For the geeks and dinosaurs among us**, A quick post on dired fixups I use for emacs. I like to sort by name, size, date, and extension. Dired sorts by name and time I think, by default. For other options you need to manually enter the ls sorting options. This elisp teaches dired to sort by size and extension as well.


        
        
      

In action:

Thanks to isagalaev and jamesward for highlight.js and github-files.js respectively.

**Someone today told me that emacs is a throwback and I am a dinosaur for continuing to use it. He said he used emacs in the past, but now he uses “more modern” tools. I’m a little suspicious because his first excuse for not using emacs was, “I run Windows”.


One thought on “emacs dired fixups

  1. Paul Reply

    Hello Dino,
    thanks for supplying your Fixups. Unfortunately I can’t get them to work. I incldued your file in the init.el but sorting in dired mode with “s” still just uses name and date. I included your file as follows:
    (load “~/.emacs.d/elpa/dired-fixups/dired-fixups”)
    (require ‘dired-fixups)

    Do I have to do something else to make it work?
    Maybe you find some time to help me.
    Thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.