VSCodeVim / VSCodeVim/Vim

Sneak cannot move backward in visual mode

Open
#7,529 0 comments 0 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

Describe the bug
In visual mode, pressing Z does not trigger a sneak movement backward. It doesn't look like there's any mapping for this, if vim-surround is also enabled.

To Reproduce
Activate vim-surround and vim-sneak. In a buffer enter visual mode and try to navigate backwards.

Expected behavior
Backward navigation

Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.22.2
  • VSCode version: 1.64.2 (Universal)
  • OS: macOS 11.6.4

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

Reproduce the issue by enabling vim-surround and vim-sneak, entering visual mode, and trying backward navigation with Z. Trace the visual-mode key mapping entry point and the interaction between the two extensions; done means Z triggers backward sneak movement without breaking the surrounding mappings.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.