Skip to content
generated from eugenesvk/dummy

Plugins, themes, and keybinds for Directory Opus File Manager

License

Notifications You must be signed in to change notification settings

eugenesvk/DOpus.ext

Repository files navigation

Brief description
(description continued)

description continued

Introduction

Install

Copy the required scripts (and the inc_xx.js libraries they depend on) to your ~\AppData\Roaming\GPSoftware\Directory Opus\Script AddIns folder.

Use

  • Cmd.JumpItem↕ jump ↑/↓ by an arbitrary number of items with/out selection
  • cb.FilterToggleOnThemeΔ automatically toggle Dark/Light variant of "Labels/Label Assignment" filter labels on Dark/Light Mode changes
  • Cmd.TabDedupe command to close duplicate tabs protecting current tab, can be added to your close/open tab buttons/shortcuts to avoid accumulating many duplicate tabs

Backup

  • backup.LayoutOn⎋ automatically save Lister layout when a Lister using this layout is closed normally (doesn't save on crashes) and on layout changes after user defined period has elapsed (helps saving before a crash)
  • backup.TabUndo fills one big gap in DOpus' tab management by adding an interface and commands to undo multiple closed tabs by storing each closed tab in a persistent (across restarts) Lister variable
    • Undo✗TabVis command invokes an interface with the list of tabs which you can use to select multiple tabs to reopen undo✗tab
      • tabs are reopened at the position they were close in if said position can be found (not very precise in the presence of multiple tabs with the same path unless they were also present when the tab is closed), otherwise can be configured to be reopened at the end of the tab bar or to the right of the active tab
      • tabs retain their manual 🔖labels
      • a list for each pane in a dual-pane lister is shown unless history for inactive pane is configured to be hidden
      • by default tabs are reopened at the same pane they were closed in unless a force flag ‹Open/Open› is set
      • supports single-key shortcuts:
        • home row navigation without selection: jk▲ (or m/, to jump by 5 (configurable) items)
        • home row navigation between panes: dleft fright pane
        • selection lselect ;toggle selection (let me know if you find a way to just just deselect) (see script config for the full list of keybinds that you can also rebind)
        • r/iConfirm / q/cCancel
        • o/p to force open in the left/right pane (sets ‹Open/Open› flag)
      • supports custom names of each column via user config
    • Undo✗Tab command opens a single tab from history, but unlike the default DOpus command, you can use it multiple times to reopen earlier closed tabs (with bg flag you can open the tab without activating it)
    • Undo✗TabClearHistory clears history with a confirmation is the list is above a configurable threshold (but only for the active Lister due to DOpus limitations) An example Undo ✗ Tab button using a few of the commands:
      • opens the GUI listview on click
      • includes a tab undo (with and without switching to the reopened tab) and a button to clear history

Columns

  • Column.AttrShort adds a column with short file attributes (without - padding), which also displays i indexing status for those files that have content indexing enabled (default is otherwise, files with content indexing disabled have a confusing i indicator)
  • Column.SizeFormat adds columns with with shorter and vertically aligned size indicators that also allow custom handling of symlinks
  • Column.FileAccess to show file read-only/read-write/noaccess status with customizable labels

Known issues

  • Column.SizeFormat not performant in folders with many items due to an unavoidable per-item JScript overhead, but looks nice :)
  • backup.TabUndo has a bunch of issues mentioned in the ToDos along with missing features
  • Cmd.JumpItem↕
    • ails with v13 Expanded folders (items' indices we get don't account for visual order)
    • JumpItem↕ isn't performant in folders with many items, use JumpItemCursor↕, but both have issues on key hold:
      • JumpItemCursor↕ is fluid, but on key release continues to execute for a few iterations
      • JumpItem↕ skips some executions; stops faster vs↑, but also not immediately
  • Cmd.TabDedupe TabDedupe dual noprotect then Go CURRENT NEWTAB opens a new tab at the end of the tabbar insted of next to the last tab even though it's visibly selected

Credits

About

Plugins, themes, and keybinds for Directory Opus File Manager

Resources

License

Stars

Watchers

Forks

Packages

No packages published