`y` key when combined with `f` or `t` doesn't copy correctly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Expected behaviour:
I want to use the y and follow with the grammar f [target char] to copy from cursor to the target char.
I.e.
This sentence I don't want but I want to grab the whole parenthetical following: (this to be copied including the parentheses)
If you're starting at the first capital T in the foregoing sentence, you'd type f( to get to the parentheses, then in normal vim you'd type yf) to copy the whole parenthetical. This does nothing; and makes using the macro engine quite hard.
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
Reproduce the issue in VSCodeVim with the sequence f( followed by yf), comparing it with normal Vim behavior. Trace the normal-mode handling for y combined with f or t; done means the parenthetical text, including both parentheses, is copied and the sequence works in macro playback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100