In VI I have a series of lines like
al xxe fl e ~ ] ~ stand ~ sneak ~ w ~ slit %
That I'd like to look like this:
al xxe ] ~ stand ~ sneak ~ w ~ slit % ~ fl e
It's only 8 lines, so I'll probably do it by hand before I get an answer, but it's the principle of the thing. I've learned a lot about :s recently and feel like I should be able to do this. Another thing of note, I'm doing this in VSCode and some of the particulars of :s are different.
This is what I'm trying to do
:86,95s/(fl\w{1,2})/$ ~ \1/
Where I think $ should put me at EOL, but it just puts a $ where the pattern was matched.
Thanks!
Asked by Jimbus
(11 rep)
Jul 18, 2025, 12:19 AM
Last activity: Jul 18, 2025, 03:11 AM
Last activity: Jul 18, 2025, 03:11 AM