text formatting - Why does Vim add spaces when joining lines? -


I want to open the text in the VIM when I get in lines then I get an extra space between sentences.

Why is that so?

destroys formatting information There are several different blocks of text that will result in formatting once. Therefore, there is no way to reverse the operation without prior knowledge (i.e. undo).

Upgrade:

  Duplicate text is all a single line or several, yet formatted when look the same. Unformatted text may start either by looking at all one line, or many, even if formatted. Formatted  

:

  Formatted text can start as a single line or several, yet it looks the same when formatted .  

If you want your paragraph to be all in one line, or if you are ok with a little manual negligible, then you include j in lines together Can use to You can use visual mode to apply the j command to multiple lines at a time, perhaps to select a paragraph, maybe ap or Together with ip , e.g. vipJ . Again, you will still lose some information - before the formatting, many places in the line break will be empty which will end the single spaces. (You can actually join without changing the blank space by using j instead of j , but when you are formatted you have already lost them

If you are troubled by the extra space after the sentence (lines!!,?, Or.), Close the places of the joints: set nozzes


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -