Breakindent patch for Vim
This is a fork of Václav Šmilauer's breakindent patch for vim, most recently updated by Ken Takata. It causes wrapped lines to be indented to line up with the start of the line, which is quite useful when editing anything that has multiple levels of indent.
You probably just want the patch, but you can also clone this whole repository into a directory called
patches in the root of a vim source code distribution and use quilt to apply/manipulate the patch.
You can look at my vimrc for an example. The basic idea is:
set breakindent set showbreak=\ \ " optional
This version should work with Vim 7.4.x, and has been tested with 7.4.035, 7.4.050, and 7.4.183.