VSCodeVim / VSCodeVim/Vim

Alt+← jump issue

Open
#2,460 4 comments 4 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

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
bug

What happened:
Before enabling plug-ins, Alt+← or Alt+→ only records jumps between functions. Moves the cursor inside a function without affecting the shortcut key jumps.
After the plug-in is enabled, cursor movements such as j/k are also recorded. Alt+← or Alt+→ shortcut keys do not jump directly back to the previous function. They just jump line by line.
How can I fix this problem, thank you

What did you expect to happen:
Alt+← or Alt+→ shortcut keys jump directly back to the previous function

How to reproduce it (as minimally and precisely as possible):

Environment:

  • Extension (VsCodeVim) version:0.11.2
  • VSCode version:1.21.1
  • OS version:Windows10 LTSB 10240

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 reproducing the Alt+← and Alt+→ behavior described for VSCodeVim 0.11.2 on the listed VS Code and Windows versions, comparing it before and after the extension is enabled. Verify whether j/k movements are recorded as jumps and whether function-to-function navigation is restored; the issue does not name a source file, test, or configuration to inspect.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.