Support the expression register
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
In vim it is possible to to basic calculations using intergs and float numbers
Describe the solution you'd like
This is the command in normal Vim(insert mode)
CTRL-R followed by = then, for example, 2+2 and press Enter.
The result 4 will be inserted into the document.
Thank you for providing an awesome extension
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
No files, tests, or entry points are named. Start by locating the normal-mode Ctrl-R handling and existing register-related behavior, then trace how insert-mode commands receive input. Done means Ctrl-R followed by =, an expression such as 2+2, and Enter inserts the evaluated result, including the requested integer and float cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100