Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 426813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:31:00+00:00 2026-05-12T19:31:00+00:00

I want to unwrap text in Vim. When I join lines I get an

  • 0

I want to unwrap text in Vim. When I join lines I get an additional space between sentences.

Why is that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T19:31:01+00:00Added an answer on May 12, 2026 at 7:31 pm

    Formatting destroys information. There are many different blocks of text which will result in the same one once formatted. Therefore, there’s no way to reverse the operation without prior knowledge (i.e. undo).

    Unformatted:

    Unformatted text could start out as either all one line, or several, yet look the same when formatted.
    
    Unformatted text could start out as either all one line, or several, 
    yet look the same when formatted.
    

    Formatted:

    Unformatted text could start out as 
    either all one line, or several, 
    yet look the same when formatted.
    

    If you want your paragraph all on one line, or if you’re okay with a little manual fiddling, you can use J to join lines back together. You can use visual mode to apply the J command to several lines at once, perhaps combined with ap or ip to select a paragraph, e.g. vipJ. Again, you’ll still lose some information – multiple spaces at line breaks before formatting will end up collapsed to single spaces. (You can actually join without modifying spaces by using gJ instead of J, but you’ll already have lost them when you formatted)

    If you’re bothered by the extra spaces after sentences (lines ending in !, ?, or .), turn off joinspaces: set nojoinspaces

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Want to show icon for settings UIBarButtonItem on UIToolbar than text button UIBarButtonItem *settingsButton
I want to remove the span using jQuery, I have tried the .unwrap(); but
want to create a temporary table that has an auto_increment field plus a field
Want to verify that my understanding of how this works. Have a C++ Class
my application want to call a method of a class that is from another
Im using jQuery's unwrap function however I want it to only unwrap if the
want to ask about void type, so I could know that it works or
Want an applescript droplet that opens files in QuickTime and mutes them all. The
I've got some html that looks like this: <div> <span class=red>red text</span> some more
I was wondering how do you get the index of an item that has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.