Skip to content

feat: add vim mode indicator colors - #27

Merged
ThatOneCalculator merged 1 commit into
rose-pine:mainfrom
thoov:feat/vim-mode-indicator-colors
Jun 12, 2026
Merged

feat: add vim mode indicator colors#27
ThatOneCalculator merged 1 commit into
rose-pine:mainfrom
thoov:feat/vim-mode-indicator-colors

Conversation

@thoov

@thoov thoov commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

What

Sets the Vim mode indicator colors so the status-bar mode shows as a colored pill instead of plain muted text.

Zed's per-mode indicator keys (vim.<mode>.background / vim.<mode>.foreground, from zed-industries/zed#39813) default to transparent, so without them the indicator falls back to an unstyled -- INSERT -- label.

Mapping

Mode Background
Normal foam
Insert pine
Replace love
Visual / Visual Line / Visual Block iris

Foreground is $base for every pill, which resolves to dark text on the dark variants and light text on Dawn, keeping the label readable across all three themes. Helix Normal/Select mirror Normal/Visual.

Changes

  • src/template.json — added the 16 vim indicator keys.
  • themes/*.json — regenerated from the template via @rose-pine/build.

Testing

Built locally and loaded into Zed; verified the pill renders and contrasts in Normal/Insert/Visual/Replace on Moon (dark) and Dawn (light).

Examples

2026-06-11 at 19 45 08@2x 2026-06-11 at 19 45 29@2x

Zed's per-mode vim indicator colors (vim.<mode>.background/.foreground)
default to transparent, so the mode indicator rendered as plain muted
text instead of a colored pill. Set them across all three variants:
Normal=foam, Insert=pine, Replace=love, Visual/Line/Block=iris, with
$base as the foreground so text stays readable on dark and light.

Regenerated themes/ from src/template.json via @rose-pine/build.
@thoov
thoov marked this pull request as ready for review June 12, 2026 02:50
@ThatOneCalculator

Copy link
Copy Markdown
Member

lgtm!

@ThatOneCalculator
ThatOneCalculator merged commit 18f8965 into rose-pine:main Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants