Allow custom mode names in the status bar
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
As far as I can tell (based on certain parts of the source code and the lack of information on this topic), the display names for the different modes in the status bar are hardcoded. It'd be nice if these could be customized in the settings; The ability to remove the leading/trailing dashes (--) or switch the name to lowercase or an abbreviated form (NOR / INS etc.) would be really handy.
Ideally, I'd imagine this could just be implemented from the user end as options like "vim.modeNames.normal": "NOR" or maybe "vim.statusBarModes.normal": "NOR" or something similar.
Currently, from what I've found at least, I don't believe there are "alternative" options or any existing customization of this particular feature; I have searched for related issues and related options in the documentation and found nothing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/statusBar.ts at the referenced mode-display code, then trace how extension settings are declared and read. Done means users can configure each mode's displayed name, including removing dashes or using abbreviations, and the status bar reflects those settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100