As I was exploring Spacemacs, I challenged myself to do all file management with Dired for 15 days.
Even with my limited knowledge of Spacemacs, I was able to get most of the stuff done quite easily. And as I kept on using it, the experience only got better.
Here's what I liked the most.
Know where you want to go? Just start typing... then press Enter
.
Edit: Press Ctrl + S
, then start typing... then press Enter
.
When you open a terminal from a Dired buffer, it automatically does a cd
into the same directory.
You can run an external command on files using the !
and &
keys.
We expect that double-clicking on a file will open it in the "default application". This can be done with xdg-open. Because xdg-open
is hard to type, I symlinked it to xoxo
.
$ sudo ln -sT /usr/bin/xdg-open /usr/bin/xoxo
$ sudo ln -sT /usr/bin/xdg-open /usr/bin/xoxo
Press o
instead of Enter
to open a folder in a separate window. When you try to copy files while having split windows open, Spacemacs automatically suggests the path opened in the other split.
✨ It works. It's awesome. ✨
Dired is a reasonable alternative to an external or graphical file manager. Already knowing a fair bit of Emacs, I found it very easy to work with Dired.