Timeline for Changing < to " but leave << alone in Vim
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 23, 2019 at 13:38 | answer | added | Rich | timeline score: 1 | |
Apr 23, 2019 at 13:37 | history | edited | Rich | CC BY-SA 4.0 |
deleted 3 characters in body; edited tags
|
Apr 23, 2019 at 12:33 | answer | added | João A. Toledo | timeline score: 2 | |
Apr 23, 2019 at 1:41 | answer | added | dedowsdi | timeline score: 0 | |
Apr 22, 2019 at 23:45 | comment | added | D. Ben Knoble♦ |
@JoãoA.Toledo make that an answer! Id suggest the very-magic flag \v to cut down on the pattern noise though.
|
|
Apr 22, 2019 at 21:11 | comment | added | Justin Waterhouse | @JoãoA.Toledo That worked perfectly. Thanks! | |
Apr 22, 2019 at 21:05 | comment | added | João A. Toledo |
Maybe this? %s/\(^\|[^<]\)<\($\|[^<]\)/\1"\2/g
|
|
Apr 22, 2019 at 20:24 | comment | added | Justin Waterhouse | So far I have tried the command :g/(<<)\@<!</s/</" but the result comes out like this: < << < becomes: " "< " | |
Apr 22, 2019 at 19:50 | review | First posts | |||
Apr 22, 2019 at 20:30 | |||||
Apr 22, 2019 at 19:48 | history | asked | Justin Waterhouse | CC BY-SA 4.0 |