VSCodeVim / VSCodeVim/Vim

Feature request: custom text objects/motions

Open
#1,096 13 comments 38 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/not-vim-core help wanted kind/feature
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

I'm an Atom vim-mode-plus user who's been keeping an eye on VSCode for a while: one of the main things that's holding me back from switching is the inability to define various text objects and motions that I've grown accustomed to.

Some examples of custom text objects in other 'vimplementations':

Is there any chance that this kind of extensibility will be available for text objects and motions within VSCode Vim some day?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by surveying the extension's existing motion and text-object handling, then determine the intended extension mechanism and its scope; done would mean a documented, maintainable way to define custom text objects and motions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.