sincecutoff.com
← all changes

jj ui.editor supports path and line substitutions

Introduced 2026-10-07 · score 0.96

HOW TO USE IT

When configuring jj’s editor to open a relevant file at a specified line, set `ui.editor` with `$line` for the 1-based line number and `$path` for the file path.

[ui] editor = ["emacs", "+$line", "$path"]

WHY THIS HELPS

Configure an editor command to open the relevant file at a specified line.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.46.0
  • ui.editor (required): Editor command and arguments; it is overridden by `JJ_EDITOR` and takes precedence over `VISUAL` and `EDITOR`.
  • $line: Substituted with the 1-based line number for cursor positioning.
  • $path: Substituted with the file path.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card