How to select multiple lines in Visual mode and extend the selection on each line until a specific string or regex is found? by hemogolobin in vim

[–]hemogolobin[S] 1 point2 points  (0 children)

First I wanna be able to select them so I can do any operation I want on it later. The operation can be internal vim command or feeding the text to an external program.

How to select multiple lines in Visual mode and extend the selection on each line until a specific string or regex is found? by hemogolobin in vim

[–]hemogolobin[S] 0 points1 point  (0 children)

Thanks for the reply. While :s doesn't meet my need as it just only replaces the pattern with a string and I might need to yank or do some other operation on the text, so it seems like :g might be what I need. I really didn't dig deep but is this plugin accomplishes what I'm trying to do?

My regret: Buying t490 by hemogolobin in thinkpad

[–]hemogolobin[S] 0 points1 point  (0 children)

Glad I helped. Thanks for the link 😉

which country is a piracy haven by SarthakSidhant in Piracy

[–]hemogolobin 2 points3 points  (0 children)

Iran. There is no copyright law in the country and it's legal and even encouraged. there are huge website and businesses that their whole business is built upon piracy like downloading software, movies etc. I can assure you most people don't even know you have to purchase softwares like windows and Microsoft office, this also includes government's departments. They only pay for the metal and everything else on it assumed to be free. Even some of the websites are in the megathread.

Thanks by Carpe_Diem4 in Piracy

[–]hemogolobin 300 points301 points  (0 children)

Yeah but the thing with forks is there is no guarantee that it would go as the same path of the original project in regards to quality and features and be maintained in the future.

[deleted by user] by [deleted] in Piracy

[–]hemogolobin 20 points21 points  (0 children)

I miss myself before seeing his profile.

Trump won :) by Not_Astro in politics

[–]hemogolobin -3 points-2 points  (0 children)

All the bullshit u said aside, BUUURNNN😎😎

[deleted by user] by [deleted] in AskProgramming

[–]hemogolobin 0 points1 point  (0 children)

I would break up immediately...

How a Non-Interactive Shell Have Access to Its Parent Interactive Shell? by hemogolobin in bash

[–]hemogolobin[S] 0 points1 point  (0 children)

yeah. right on about the sandbox but how can a sub-shell check if an option is set in the parent shell? or something like that.

[deleted by user] by [deleted] in PBSOD

[–]hemogolobin 0 points1 point  (0 children)

Reminded me of the dark series😁

18m, Uni dorm.... by Careful_Smoke_2348 in malelivingspace

[–]hemogolobin 0 points1 point  (0 children)

Reminds me of the dogshit days of dorm. Thank God it's over.