CTRL-A in insert mode
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 insert mode, pressing <C-a> types the previously inserted test in insert mode, then stays in insert mode.
Describe the solution you'd like
CTRL-A section of the spec here.
Describe alternatives you've considered
Switching to normal mode and using . isn't the same and not as powerful.
Additional context
It's very convenient when doing renames in code.
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 by reading the linked Vim insert-mode CTRL-A specification, then trace how insert-mode keybindings are handled in this TypeScript VS Code extension. Done means CTRL-A inserts the previously inserted text while keeping the editor in insert mode, with behavior covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100