question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apply a macros on selected lines

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:13
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
ishammahajancommented, Nov 15, 2019

The extension is awesome! This is a highly desirable feature though. Would you please move it up the roadmap?

2reactions
Chilleecommented, Feb 1, 2018

This is not supported yet, either with or without neovim.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vim Macro on Every Line of Visual Selection - Stack Overflow
Select the lines then press : to enter command mode. Vim will automatically fill ... The advantage is that you can apply any...
Read more >
Run macro over a visual selection with line movements
To run a macro on every line you use :{range}normal! ... expand to '<,'>norm @q ) will run the macro on the lines...
Read more >
Run Macro On Multiple Lines in Vim - rockyourcode
Run Macro On Multiple Lines in Vim · Go to the first line you want to edit, start at position 0. · In...
Read more >
Run a Macro Line by Line - VBA Code Examples
Here is how to run a macro one line at a time. This is useful sometimes when debugging, or resuming line by line...
Read more >
how to run a macro from specific line in the middle of the code ...
Click anywhere in Macro1. Press F8 to start single-step mode. There will be a yellow arrow to the left of the line Sub...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found