Quotes Text Object
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Based on https://github.com/beloglazov/vim-textobj-quotes
The goal is to just need to press cq, dq, yq, or vq to operate on the text in single ('), double ("), or back (`) quotes.
It would be great to see this featured implemented and I can help with code if you point me out to some examples of how text objects are currently implemented.
As a workaround I mapped q to single quotes and Q to double quotes
omap q i'
xmap q i'
omap Q i"
xmap Q i"
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 reviewing the existing text-object implementations in VSCodeVim and compare their behavior with beloglazov/vim-textobj-quotes. The work is done when cq, dq, yq, and vq operate on single, double, and backtick-quoted text in the relevant modes; no implementation files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100