I am working on a simple text file in vim where I want to end every sentence with 2 spaces after full stop (dot/period). However, I do not want those sentences which already have 2 spaces after full stop to have further increase in spaces. The test text could be:
This sentence has only 1 space after it. This one has two. This line has again 1 space only. This is last line.
I tried:
%s/\. /\. /g
but this increases all spaces by one. I tried following also but it does not work:
%s/\. \\([^ ]\\)/. \\1/g
How can I achieve this in vim?