VSCodeVim / VSCodeVim/Vim

Could you pls add `zm` and `zr` shortcuts

Open
#4,613 6 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Thanks for your incredible extension!
What did you do?
Fold Recursively (Ctrl+K Ctrl+[) folds the innermost uncollapsed region at the cursor and all regions inside that region.
Unfold Recursively (Ctrl+K Ctrl+]) unfolds the region at the cursor and all regions inside that region.

What did you expect to happen?
I would like to use the original key "zm" and "zr" to do this action.

What happened instead?
"zm" and "zr" have not been implemented.

Technical details:
VSCode Version: 1.40.2
VsCodeVim Version: 1.13.0
OS: Windows 10

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 tracing the existing Ctrl+K Ctrl+[ and Ctrl+K Ctrl+] actions in the VSCodeVim extension and compare them with Vim's requested zm and zr shortcuts. Done means zm and zr trigger the corresponding recursive fold and unfold actions without affecting the existing keybindings.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.