micro-editor / micro-editor/micro

Selection size indicator in the status line

Open
#592 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description of the problem

  • In selection mode there is no obvious way to know how many lines I have selected.
  • Many editors display number of lines in the selection in the status bar/line.
  • If vertical block mode is implemented, it would be nice to have number of columns also displayed there.
  • wc or another plugin could hook up to the editor to count and display sentences, words, characters in the selection (this is probably fodder for another featreq, though).

Use cases

  • Editing files with many similar lines.
  • (for word counting plugins) Editing size-limited text features (abstracts, summaries).

Priority

Low - it's a 'keep up with the Joneses' feature for the arithmetically challenged.

Specifications

Version: 1.1.5-dev.52

Commit hash: 53a19af
OS: Linux
Terminal: gnome-terminal

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by tracing how the terminal status line is rendered and how selection-mode state is represented; done means the status line shows the selected line count, with column count addressed only if vertical block mode exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.