Skip to content

Add word count option - #501

Open
aleshh wants to merge 1 commit into
heyman:mainfrom
aleshh:feature/word-count
Open

aleshh wants to merge 1 commit into
heyman:mainfrom
aleshh:feature/word-count

Conversation

@aleshh

@aleshh aleshh commented Sep 25, 2026

Copy link
Copy Markdown

Adds a word count option under Settings → Appearance. Off by default, natch. When enabled, shows a word count for the current block next to Ln/Col.

Justification: I find myself wanting a word count all the time, jumping to VSCode for this is no fun. Having it here is great.

Added tests. Also tested IRL with a large block, performance seems good.

Disclaimer: technically this might be "AI slop" ¯\_(ツ)_/¯

Settings screen

Screenshot 2026-09-25 at 3 02 35 AM

Feature when on

Screenshot 2026-09-25 at 3 01 44 AM

@aleshh

aleshh commented Sep 25, 2026 •

Copy link
Copy Markdown
Author

Whoops, there's another open PR that does something similar! The two differences are here this is just adding a disabled option, and that it measures word all the time, not just when text is selected. I actually think that addresses the original issue better, but YMMV. Also looks like the other PR has some failing tests.

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.

1 participant