Skip to content

Git Is Fork: glyph display mode (fork icon instead of isFork: true) #615

Open

Description

@axisrow

Problem

Git Is Fork currently renders only as isFork: true (or raw true), which is verbose next to the other compact Git widgets. Hiding it when the repo is not a fork already works great via the h hide states, but when it is a fork there is no compact way to show it.

Request

A glyph/symbol display mode for Git Is Fork: a monochrome plain-Unicode fork glyph instead of the isFork: true label, matching the design language of the existing Git widget defaults (⎇ U+2387 for branch, 𖠰 U+16830 for worktree). An emoji (🍴) would break that monochrome single-width style, so plain Unicode is the way to go.

Candidate glyphs

Glyph Codepoint Note
⑂ U+2442 OCR FORK — the literal fork; recommended default
⅄ U+2144 turned Y, reads as branching/merge
丫 U+4E2B CJK letter, literally "fork", Y-shaped
ⵢ U+2D62 Tifinagh Y, thin Y-fork
ɤ U+0264 Latin gamma, hook-like branch
ψ / Ψ U+03C8 / U+03A8 trident
U+F02C9 Nerd Font md-source-fork, optional NF-only variant

Notes

  • Other Git widgets already expose customizable symbols via the symbol-slot editor (g), so making the glyph user-editable would fit the existing pattern (SymbolSlotsEditor).
  • Combined with the existing not-fork hideable state, a glyph mode makes the widget a compact one-character fork indicator: invisible in regular repos, ⑂ upstream next to ⎇ main in forks.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions