Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Insert Break After Wrapping Width 80 characters in Sublime Text 3

Tags:

sublimetext3

In sublime text 3, it will be nice if a line break is inserted after wrapping the code after 80 characters. However, I have not found this plugin yet. Does anyone know the configuration/plugin?

I found the link for wrapping lines after 80 characters. 80-characters / right margin line in Sublime Text 3

like image 655
day Avatar asked Sep 02 '15 20:09

day


2 Answers

Check out AutoWrap. It will hard wrap automatically whenever you hit the ruler. It works nearly perfectly for me.

like image 146
Thomas Lee Avatar answered Nov 18 '22 03:11

Thomas Lee


I successfully used regex find-replace in Sublime Text:

replace

(.{80})

with

$1\n
like image 36
Arend Avatar answered Nov 18 '22 02:11

Arend