Skip to content
Bruno Heridet edited this page Nov 6, 2017 · 14 revisions

Using the builtin highlighter

addhl wrap

Automatically break lines at 80 chars

The following hook will add newline characters `\n' in the buffer.

hook buffer InsertChar [^\n] %{
   exec -draft "gh<a-k>.{80,}<ret><a-;>bi<ret><esc>"
}

See also

Clone this wiki locally