Changes between Version 4 and Version 5 of VimBreakIndent
- Timestamp:
- Feb 19, 2011 3:46:45 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VimBreakIndent
v4 v5 6 6 To get this behaviour, rebuild vim with this patch, then `set breakindent`. You can combine it with `set showbreak=..` or `set showbreak=\ \ ` to provide a little bit of additional indent to the wrapped portion of the lines. 7 7 8 For example, this shows vim with `set breakindent showbreak=..`, `set linebreak`, `set foldmethod=indent foldcolumn=4` and `set shiftwidth=4 tabstop=4 softtabstop=4 expandtab` options with a visual highlight that wraps across lines: 9 10 [[Image(vim-snapshot-1.png)]] 11 12 8 13 [attachment:wiki:2011/02/19/09.30:breakindent-20101112-vim7.3.diff Fedora 14, 7.3.056-1.fc14] 9 14 10 These older versions of the patch interact badly with `set linebreak`:15 These older versions of the patch interact poorly with `set linebreak`: 11 16 12 17 [attachment:wiki:2010/11/22/23.00:vim-7.3-breakindent.patch Fedora 13, 7.3.055-1.fc13]