AutoWrap
Auto (Hard) Wrap for Sublime Text 2/3
Details
Installs
- Total 15K
- Win 6K
- Mac 6K
- Linux 3K
Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Auto (Hard) Wrap for Sublime Text 2/3
Automatic hard wrap beyond wrap width. It could be useful for text documents. Sublime-Wrap-Plus could be used together with AutoWrap for the best experience.
Installation
Usage
To toggle Auto Wrap
Type Auto Wrap
in command palette or Go to menu Edit -> Auto Wrap
.
Control wrap width
Wrap width is detected in the following order
auto_wrap_width
wrap_width
rulers
- default 80
Settings
To activate Auto Wrap for a specific syntax at start up
Put the following in your syntax specific preference.
Menu -> Preference -> Settings - More -> Syntax Specific - User
{
"auto_wrap" : true
}
You can also change auto_wrap_width
by
{
"auto_wrap_width" : 100
}
Long words
In default, long word will break into a new line. To disable this behavior, consider
{
"auto_wrap_break_long_word" : false
}
Break beyond wrap width only
If true, long sentence will break only if the cursor is beyond wrap width.
{
"auto_wrap_beyond_only" : true
}
Break patterns
Upon typing, AutoWrap searches for these characters (in regex, to be concatenate by |
) and a line would break at (right before) a matched location. Note that Backslash has to be double escaped.
{
# it is the default
"auto_wrap_break_patterns" : ["\\[", "\\(", "\\{", " ", "\\n"]
}