Skip to content

3.3.0

Latest

Choose a tag to compare

@noahcoad noahcoad released this 05 Nov 01:31

3.3.0

Resolution release. More of what's under the cursor opens as the path you
meant, Copy Deep Link and Paste Relative Path get tunable, and the quick
panels now say what they resolved to.

What's new

System Open this File opens the path under the cursor

With the cursor on a path that exists on disk, Open URL: System Open this
File
now hands that path to the OS opener instead of the file you're
editing. It resolves the same way Open URL does — aliases, search paths,
path:LINE deep links. Anywhere else, it still opens the current file.

The quick panels show the resolved target

Every action menu's input line now shows which candidate won after aliases,
search paths, prefixes and suffixes ran — 📄 ~/txt/notes.md:42,
📁 ~/code/prj/sublime, ◆ for a custom-command match, 🔍 for a search.
It clears as soon as you type to filter.

Same-file . deep links

Open URL reads .:42, .:"text" and .:/regex/ as locations in the current
view, and Paste Relative Path writes them when the clipboard link points back
into the file you're editing. A bare . is still the folder. Turn it off with
paste_same_file_dot_link: false.

KEY=path opens the path side

alias netlog=~/code/script/netlog and --config=~/app.toml now open the
path when only the side under the cursor resolves. Tokens that resolve whole,
and URL query strings, are untouched.

Comment markers glued to a path

#~/notes.txt, //src/app.js and --./init.lua no longer swallow the marker
into the token. New scope_stop setting (a selector, default
punctuation.definition.comment); the full token still wins when only it
resolves, as with //etc/hosts. Set "" to turn it off.

Configurable Copy Deep Link anchor

deep_link_anchor_unit ("words" or "chars") and deep_link_anchor_length
control how much of the line goes into the /^regex/ anchor; defaults are 5
words / 40 chars. In chars mode, deep_link_anchor_min_length snaps a mid-word
cut back to a word boundary.

Fixes

  • Markdown links whose label contains brackets, like
    [[MASTER] deck.pptx](url), resolve to their target instead of the label.

Removed

  • Run in Terminal, paused since 3.1 and never working when Sublime was the
    caller, is gone along with its terminal_app setting. The terminal /
    pause fields on custom commands remain as the replacement.