Add "clever-f.vim" functionality to VSCodeVim
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
I like f/F/t/T for quickly navigating to the next occurrence of a letter, and think that easymotion is a bit too heavy-handed in accomplishing this. clever-f.vim is a plugin that makes "go to next occurrence of character you just searched with f/F/t/T" the same character you started the motion with instead of using ;/,, allowing you to free those up for other things (like remapping for <leader> or whatever). The addition of visual queues (similar to easymotion) that help you quickly navigate to the appropriate match that you intended makes this plugin really nice in practice when in Vim, and I wish I had it in VSCode.
Describe the solution you'd like
I'd like clever-f.vim, but in this extension.
Describe alternatives you've considered
Tried figuring out how to implement it, but I'm pretty new to extension authoring. Don't know how to accomplish this.
Additional context
Full details of how the plugin works is in their README.
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 clever-f.vim README to understand the requested behavior, then inspect VSCodeVim's existing handling of f/F/t/T motions. Done means the extension repeats the initiating character for these motions and provides the requested visual queues, with behavior matching the plugin closely enough to test interactively.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100