An efficient way to remove spaces between two characters in Vim
I have faced this problem a lot. For example,
abcd abcd
xyzw xyzw
Now I need to remove spaces between single characters. The lines also have some symbols on the front.
I want to try something like this: s / [az] [az] / [az] [az] / g - what might be possible to replace the expression?
This is just an example of a problem. I run into similar problems a lot of the time when I have to apply some search to find this type of expression and replace the expression, but not completely replace it and replace only part of it.
Edit: want to remove one space between single characters.
+3
source to share
2 answers