AutoWrap
Auto (Hard) Wrap for Sublime Text 2/3
Details
Installs
- Total 15K
- Win 6K
- Mac 6K
- Linux 3K
Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 3 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 1 | 1 | 2 | 0 | 2 | 2 | 0 | 2 | 1 | 0 | 1 |
Mac | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 1 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
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"]
}