sponsor Vim development Vim logo Vim Book Ad

wrapwidth : Wraps long lines virtually at a specific column

 script karma  Rating -1/1, Downloaded by 285  Comments, bugs, improvements  Vim wiki

created by
Rick Howe
script type
This plugin provides the 'Wrapwidth' command to set a column at which a longer line will be virtually wrapped. When 'wrap' is on, the required number of blank spaces are inserted as virtual-text at right edge of each screen line.

For details and demo samples, please visit the following git repository: https://github.com/rickhowe/wrapwidth.
install details
Install 'rickhowe/wrapwidth' by using your plugin manager. Or manually unzip and copy all folders in your ~/.vim or ~/vimfiles.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
wrapwidth3.4.zip 3.4 2024-03-19 9.0 Rick Howe Improved to allow multi-byte and multi-column characters to use in the wrapwidth_sign option.
wrapwidth3.3.zip 3.3 2024-03-13 9.0 Rick Howe Improved to automatically adjust the virtual spaces while typing in insert mode. Added 2 options.
wrapwidth3.2.zip 3.2 2024-02-17 9.0 Rick Howe Added ! flag to the :Wrapwidth command to redraw the wrapwidth virtual spaces for an accidental displacement.
wrapwidth3.1.zip 3.1 2024-01-22 9.0 Rick Howe Improved to ignore many WinResized events and work smoothly while resizing a window by mouse.
wrapwidth3.0.zip 3.0 2024-01-08 9.0 Rick Howe Added [range] to the :Wrapwidth command to specify and set more than one different sets of wrapwidth lines.
wrapwidth2.0.zip 2.0 2023-12-16 9.0 Rick Howe Improved to check changed lines and update virtual spaces only on them while editing.
wrapwidth1.2.zip 1.2 2023-10-21 9.0 Rick Howe Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github