Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8066941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:08:42+00:00 2026-06-05T12:08:42+00:00

I would like to use something like vils for vim buffers. Example: a b

  • 0

I would like to use something like vils for vim buffers.

Example:

a
b
a
b

Search for “a” (:g/a/)

Output:

a
a

and then edit the output as if it were a normal buffer.
When I’m done it should map my changes line by line back to the original buffer.

How do I do that?

PS: I could probably use :%s/../../ or something like that, but it wouldn’t be nearly as comfortable as it could be. (Even if the completion in the CTRL+F buffer would work.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T12:08:43+00:00Added an answer on June 5, 2026 at 12:08 pm

    Use Qfreplace http://github.com/thinca/vim-qfreplace

    1. add some into quickfix. ex: grep foo */
    2. type :Qfreplace on quickfix
    3. change lines as you want.
    4. :w
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to use something like the following: SELECT city FROM cities WHERE
Should I use something like maven for this? Or would finding them as they
I would like to do something like this i.e., use wild card characters in
I would like to use something like this: Dictionary<int, string>[] matrix = new Dictionary<int,
I would like to use something like float:left css on inside with specified width
I would like to use something like typedef in my C++ programs to enhance
For example, if I wanted to use something like: xdotool mousemove 945 132 xdotool
I would like to use something like CLR Profiles on .Net 2.0 to see
I would like to use something like: if (foo>0){ typedef enum { Form_FirstName =
I am using xampp on Windows, but I would like to use something closer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.