Changes between Version 4 and Version 5 of VimBreakIndent


Ignore:
Timestamp:
Feb 19, 2011 3:46:45 PM (13 years ago)
Author:
retracile
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VimBreakIndent

    v4 v5  
    66To 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.
    77
     8For 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
    813[attachment:wiki:2011/02/19/09.30:breakindent-20101112-vim7.3.diff Fedora 14, 7.3.056-1.fc14]
    914
    10 These older versions of the patch interact badly with `set linebreak`:
     15These older versions of the patch interact poorly with `set linebreak`:
    1116
    1217[attachment:wiki:2010/11/22/23.00:vim-7.3-breakindent.patch Fedora 13, 7.3.055-1.fc13]