Last active
September 29, 2023 12:48
-
-
Save v0d1ch/abaf2a315e1a9fc1c476 to your computer and use it in GitHub Desktop.
vim replace newline with comma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,$s/\n/,/g #replace comma with new line | |
%norm A* #append * to every line | |
bufdo! %s/FIND/REPLACE/g # search all buffers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Helpful, thanks 👍