currently trying to learn vim 08/03/2026 13:44 i can't figure it out. :s/./* looks like sed syntax, should work it replaced the first character wait how do i undo stuff on vim? :u oh it worked :%s/./*/g should replace all "." for "*", right? do i have to specify a range? :1-4%s/./*/g doesn't seem to be it :1,4%s/./*/g doesn't seem to be either maybe the * is treated like a wildcard, lemme escape it :%s/./\*/g not that either okay after a google search turns out the "." is the wildcard, not the "*" so escaping it like this :%s/\./*/g actually works