VSCodeVim / VSCodeVim/Vim

Apply a macros on selected lines

Open
#2,353 7 comments 18 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

Unable to apply recorded macros to selected lines.
Macros is working fine(stored in q), selection is correct, but when I hit : in visual mode and execute '<,'>norm! @q nothing happens.
Editor just returns to normal mode and removes selection.

Expected result: Macros q should be executed on each selected line
Actual result: Nothing happened

  • Extension (VsCodeVim) version: 0.10.13
  • VSCode version: 1.19.3
  • OS version: MacOS 10.13.1

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. First reproduce the Visual mode command '<,'>norm! @q in the VSCodeVim extension, then trace how selected-line commands and recorded macros are handled. Done means macro q executes on every selected line instead of returning to Normal mode without changes.

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.