# File explorer

File explorer is a core plugin that lets you manage files and folders inside your vault.

File explorer is a core plugin that lets you manage files and folders inside your vault. You can browse notes and other Accepted file formats in your vault and perform many common file operations:

  • Create, delete, and rename files and folders.
  • Move files and folders with drag and drop.
  • Use the context menu to access all available operations.

# Create a new note

To create a new note in the default location for new notes:

  1. Click New note ( ) at the top of the File explorer.
  2. Type the name of the note, and then press Enter.

To create a new note in a specific folder:

  1. Right-click the folder and then click New note.
  2. Type the name of the note, and then press Enter.

# Create a new folder

To create a new folder in the root of your vault:

  1. Click New folder ( ) at the top of the File explorer.
  2. Type the name of the folder, and then press Enter.

To create a subfolder:

  1. Right-click the folder you want to create the subfolder in, and then click New folder.
  2. Type the name of the folder, and then press Enter.

# Change sort order

To change the sort order of your files:

  1. Select Change sort order ( ) at the top of the File explorer.
  2. Choose how you want to sort your files. You can sort in ascending or descending order by file name, modified time, or created time.

# Auto-reveal active file

When you open a note, File explorer can automatically scroll to and highlight that note in the folder tree. This helps you keep track of where your active note is located within your vault.

To toggle auto-reveal:

  • Select Auto-reveal active file ( ) at the top of the File explorer.

When enabled, the File explorer will automatically follow and reveal the currently open note.

# Expand or collapse all folders

You can expand or collapse all folders in the File explorer at once.

To expand all folders:

  • Select Expand all ( ) at the top of the File explorer.

To collapse all folders:

  • Select Collapse all ( ) at the top of the File explorer.

# Delete a file or folder

  1. Right-click the file you want to delete, and then click Delete.
  2. If prompted to confirm that you want to delete the file, click Delete.

For more information, refer to Delete a note.

# Rename a file or folder

  1. Right-click the file you want to rename, and then click Rename.
  2. Type the new name, and then press Enter.

For more information, refer to Rename a note.

# Move a file or folder

To move a file or folder, you can use drag-and-drop or the context menu.

Drag and drop:

  • Drag a file or folder to the folder you want to move it to.
  • With Alt-Click (Windows/Linux) or Opt-Click (macOS) you can select multiple individual files and drag them to another folder. If they're all in a row, you can use Shift-Click for it.

Context menu:

  1. Right-click a file, and then select Move file to....
  2. Search for the name of the folder you want to move the file to, and then select it from the list.