VSCodeVim / VSCodeVim/Vim

How to remap the percentage symbol "%" such that it can jump between paired tags?

Open
#8,211 1 comment 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

The percentage symbol jumps between paired symbols. I want to remap such that it can jumps between paired tags. For example, I use vscode to write latex code. The latex extension provides a command: "latex-workshop.navigate-envpair" so that I can jump between paired tags. Then how to remap "%" such that "%" behaves both correctly for symbols like "( )" and paired tags ?

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

Start by reviewing VSCodeVim's key-remapping and paired-symbol handling, then reproduce the request with the LaTeX Workshop navigate-envpair command. Done means the % mapping preserves its existing paired-symbol behavior while also invoking the tag-navigation command when appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.