Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 2.91 KB

README.md

File metadata and controls

52 lines (34 loc) · 2.91 KB

Obsidian Explorer Shortcuts

A plugin for Obsidian that enhances file navigation and manipulation in the explorer using keyboard shortcuts.

Key Features

  • Efficient Copy/Cut and Paste: Files and folders are highlighted when copied or cut, allowing you to navigate directly to the destination for pasting without dragging or using complex context menus. When pasting, you can choose to increment the name or replace the existing file/folder if a conflict occurs.
  • Explorer-Editor Synergy: Use arrow keys to browse files in the explorer, automatically displaying them in the editor. Right/left arrows reveal or collapse folders, enhancing file structure visualization.
  • One-Key Actions: Perform common file operations (rename, create, delete) with single key presses.

Quick Help

Press h while hovering over the file explorer to display a modal with a reminder of all available shortcuts.

Why Use Explorer Shortcuts?

  • Simplifies file management tasks
  • Reduces reliance on mouse interactions
  • Speeds up your Obsidian workflow

Navigation

  • Up/Down Arrow: Navigate between files and folders in the explorer tree and view them in the editor. The plugin automatically unfolds parent folders and scrolls to the active file for effortless navigation.
  • Left Arrow: Toggle collapse/expand all folders in the explorer tree (synced with the UI button in the explorer header).
  • Right Arrow: Reveal the active file in the explorer tree and scroll to it.

File/Folder Actions

  • h: Show a modal with a reminder of all available shortcuts.

  • F2 or R: Rename the selected file/folder.

  • N: Create a new file.

  • F: Create a new folder.

  • X: Mark(color) the hovered file/folder as Cut (Press again to unmark). You can also select multiple files/folders and press X to mark them all.

  • C: Mark(color) the hovered file/folder as Copy (Press again to unmark). You can also select multiple files/folders and press C to mark them all.

  • Esc: Unmark all cut/copy.

  • V: Paste what have been marked as cut/copy to the hovered item (parent folder if file). You can mix and paste multiple files/folders simultaneously.

  • Delete: Delete the hovered file/folder. By default, a confirmation dialog is shown for folders, but not for files. You can change this behavior in the plugin settings... You can still use the default Obsidian Delete after on a focused file.

  • W: Open the hovered file in a new window.

  • O: Open the hovered file/folder/root1 in the system explorer.

Commands

  • Show in system explorer: Over the editor open file or root1(if empty tab) in the system explorer. Recommanded shortcut: Ctrl+O.

Settings

  • Confirmation on Deleting: Prompts for confirmation before deleting files or folders.

Explorer Shortcuts streamlines your Obsidian file management, boosting your productivity and efficiency.

Footnotes

  1. The root folder is the root of the Obsidian vault. 2