VSCodeVim / VSCodeVim/Vim

easymotion j/k not triggering prompts on empty lines

Open
#2,388 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/plugin help wanted kind/bug
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): in the sense that the behavior of VSCode easymotion deviates from vim easymotion, I would categorize this as a bug.

What happened: when using <leader><leader>j or <leader><leader>k, empty lines do not have prompts included for them. For example:

vscode_easymotion

What did you expect to happen: these motions should trigger prompts even on new lines. See the behavior in vim:

vim_easymotion

How to reproduce it (as minimally and precisely as possible): <leader><leader>j or k on a file with blank lines; observe that no prompts appear for the empty lines.

Environment:

  • Extension (VsCodeVim) version: 0.10.13
  • VSCode version: Version 1.20.1
  • OS version: OS X 10.13.3

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

No source file or test is named. Reproduce the issue in the VSCodeVim extension with leader-leader-j/k on a file containing blank lines, then trace the EasyMotion handling; done means prompts appear for empty lines as they do in Vim, with a regression check.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.