Sublime Forum

Remove line breaks caused by word wrapping

#1

Is there a way in Sublime 3 to remove the line breaks caused by word wrapping? I don’t wish to remove ALL line breaks as my entire document becomes a single line. I want to keep the paragraph line breaks but just remove the ones added at the end of every line.

0 Likes

#2

Select the region you want to replace line breaks in, press ctrl+shift+l and then ctrl+J.

Alternatively, just use normal find and replace to replace newlines with a space character.

0 Likes