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.

Partial Search and Replace Missing Features/Behavior

See original GitHub issue

First Missing Feature: https://www.linux.com/learn/vim-tips-basics-search-and-replace

Range for vim search and replace does not work.

The following work in Vim for VSCode:

:%s/Search/Replace/g  //globally search and replace entire doc
:s/Search/Replace     //search and replace first instance of Search on this line
:s/Search/Replace/g   //search and replace globally on this line

The following doesn’t work in Vim for VSCode (Missing Behavior):

:[range] s/Search/Replace/       //search and replace first instance of Search on lines in range
:[range] s/Search/Replace/g      //search and replace globally for lines in range

where range is of the format

:1,3 s/Search/Replace/g    //search and replace every instance of Search on lines 1, 2, 3

Second Missing Feature/Behavior: http://vim.wikia.com/wiki/Repeat_last_colon_command

Repeating previous colon command is not working.

@: //repeat previous colon command
@@ //repeat previous repeated colon command

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
J-Fieldscommented, Mar 22, 2022

This has been fixed for a little while

1reaction
brianjmurrellcommented, Apr 28, 2020

@mirsella I opened #4773 about this if you want to subscribe there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Partial term search and patterns with special characters ...
A partial term search might include a combination of fragments, often with special characters such as hyphens, dashes, or slashes that are part ......
Read more >
10 cool ways to get more from Word's Find and Replace feature
Find and Replace can accomplish things most users never dreamed of. Here are some of the best ways to put this feature to...
Read more >
Finding and replacing characters using wildcards
To begin, you must first turn Wildcards on in the Find/Replace dialog. To do so, bring up the Find dialog, click More and...
Read more >
Formatting Partial Results of a Search - Word Ribbon Tips
(You are at the end of the document and you want to search upwards through the document.) Click on Replace All. Close the...
Read more >
Searching - Notepad++ User Manual
Find in Files allows both finding and replacing. You can choose an extension filter (Filters:), the containing folder (Directory:), and whether to also...
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