Amol Gawai
Amol Gawai

Reputation: 3360

Icons in dired mode for Emacs

I would like to use the dired mode of emacs as my file browser. I am very much addicted to see an icon for file/folder rather that to see the extension and color. The icons give me a very quick visual feedback. I have searched the web for display of icons in dired but found none. So I wonder whether it is even possible to do this and if yes how?

To put my question clearly

How can I display icons for files and folders in dired mode of Emacs?

Upvotes: 6

Views: 4882

Answers (3)

Metropolis
Metropolis

Reputation: 2128

all-the-icons-dired is a more current solution. Another option that looks quite nice is to use treemacs-icons-dired

I just switched to treemacs-icons-dired and recommend it. Simply install the package and add a mode hook like:

(add-hook 'dired-mode-hook 'treemacs-icons-dired-mode)

Upvotes: 5

xuhdev
xuhdev

Reputation: 9400

Use the dired-icon extension, which works for GTK (on Linux).

Disclaimer: I'm the author of the extension.

Upvotes: 3

luapyad
luapyad

Reputation: 3900

If you are using Windows, you can try dired-dispicon.el. Get the relevant files from here. See http://wiki.gohome.org/teranisi/?EmacsOnWindows for what it looks like. Note that you will probably need a version of emacs that supports images (e.g. for Windows you could try EmacsW32).

Upvotes: 3

Related Questions