VIMで以下を実装するにはどうすればよいですか?
substitute/regex_this_word/regex_with_another_word_from_the_same_line
例えば
select "ali" as name where _placeholder = _placeholder
union
select "sam" as name where _placeholder = _placeholder
適用後
:%s/_placeholder/anythin_between_quotation/
になります
select "ali" as name where ali = ali
union
select "sam" as name where sam = sam
例2
select id, "_placeholder" as vul members_repeater/vul/none
適用後
:%s/_placehold/\=something_like_regexp(getline('.'),'regexp_pattern_to_select_everthing_after_/vul/")
になります
select id, "none" as vul members_repeater/vul/none
ありがとう