Dired

approvedunreviewed

by gapmiss

Navigate and manage files directly, inspired by the Dired mode from Emacs.

★ 1 stars↓ 4,172 downloadsUpdated 1mo agoMIT

Dired

A keyboard-driven file manager for Obsidian, modeled on Dired from Emacs.

Dired shows a folder as a text buffer, one entry per line. Move the cursor to a file and press a key to open, mark, rename, move, or delete it. No mouse needed.

Features

  • Marks. Mark several files, then move or delete them together.
  • Rename in place. Press R, edit names right in the buffer, and press Enter. Add cursors on neighboring lines to edit many names at once.
  • Links stay intact. Renames and moves go through Obsidian, so links and embeds update automatically.
  • Native deletes. Deleting uses Obsidian's own prompt and respects your trash settings.
  • Fuzzy filter. Press / and type a few letters to narrow the listing.
  • Bookmarks. Save folders you visit often and jump to them from anywhere.
  • Preview. Show the file under the cursor in a split as you move through the list.
  • Always current. The listing updates when files change, even from sync or other plugins.

Getting started

Run Dired: Open from the command palette, click the folder-tree icon in the ribbon, or right-click a folder in the file explorer and choose Open in dired.

The key list at the bottom of the buffer covers everything. Press ? to hide it once you know your way around.

For a full walkthrough, read the user guide.

Keys

KeyAction
n / pNext / previous entry
Enter / oOpen file or folder
uUp to parent folder
gGo to any folder
jJump to an entry in this folder
/Filter entries (Esc clears)
rRefresh
mMark or unmark, then move down
tFlip all marks
UClear all marks
* .Mark by file extension
RRename mode (Enter applies, Esc cancels)
Ctrl+Alt+↑ / ↓Add a cursor above / below (rename mode)
MMove marked entries, or the one at the cursor
DDelete marked entries, or the one at the cursor
c dCreate folder
c fCreate file
a bBookmark this folder, or remove the bookmark
BGo to a bookmark or any folder
PPreview mode on/off
?Show or hide the key list

Keys shown as two letters, like c d, are pressed one after the other.

Settings

Preview placement chooses whether the preview opens to the right of dired or below it.

Customization

Dired picks up your theme's monospace font, font size, and colors. To change the look, see THEME.md.

Installation

From Obsidian:

  1. Open Settings → Community plugins → Browse.
  2. Search for "Dired", then install and enable it.

Or install it from community.obsidian.md.

Manually:

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Put them in a new folder at <your vault>/.obsidian/plugins/dired/.
  3. In Settings → Community plugins, reload the plugin list and enable Dired.

Development

npm install
npm run dev     # rebuild on change
npm run build   # type-check and production build
npm run lint    # eslint with eslint-plugin-obsidianmd

See CONTRIBUTING.md.

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.