Mercurial > vim
comparison runtime/doc/options.txt @ 18574:8b0114ffde2b v8.1.2281
patch 8.1.2281: 'showbreak' cannot be set for one window
Commit: https://github.com/vim/vim/commit/ee85702c10495041791f728e977b86005c4496e8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 9 23:26:40 2019 +0100
patch 8.1.2281: 'showbreak' cannot be set for one window
Problem: 'showbreak' cannot be set for one window.
Solution: Make 'showbreak' global-local.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Nov 2019 23:30:03 +0100 |
parents | 334b1f897f3a |
children | 41484f342f80 |
comparison
equal
deleted
inserted
replaced
18573:f18a4ae518f1 | 18574:8b0114ffde2b |
---|---|
6746 or crossdos. When running the Win32 GUI version under Win32s, this | 6746 or crossdos. When running the Win32 GUI version under Win32s, this |
6747 option is always on by default. | 6747 option is always on by default. |
6748 | 6748 |
6749 *'showbreak'* *'sbr'* *E595* | 6749 *'showbreak'* *'sbr'* *E595* |
6750 'showbreak' 'sbr' string (default "") | 6750 'showbreak' 'sbr' string (default "") |
6751 global | 6751 global or local to window |global-local| |
6752 {not available when compiled without the |+linebreak| | 6752 {not available when compiled without the |+linebreak| |
6753 feature} | 6753 feature} |
6754 String to put at the start of lines that have been wrapped. Useful | 6754 String to put at the start of lines that have been wrapped. Useful |
6755 values are "> " or "+++ ": > | 6755 values are "> " or "+++ ": > |
6756 :set showbreak=>\ | 6756 :set showbreak=>\ |
6763 The characters are highlighted according to the '@' flag in | 6763 The characters are highlighted according to the '@' flag in |
6764 'highlight'. | 6764 'highlight'. |
6765 Note that tabs after the showbreak will be displayed differently. | 6765 Note that tabs after the showbreak will be displayed differently. |
6766 If you want the 'showbreak' to appear in between line numbers, add the | 6766 If you want the 'showbreak' to appear in between line numbers, add the |
6767 "n" flag to 'cpoptions'. | 6767 "n" flag to 'cpoptions'. |
6768 | 6768 A window-local value overrules a global value. If the global value is |
6769 set and you want no value in the current window use NONE: > | |
6770 :setlocal showbreak=NONE | |
6771 < | |
6769 *'showcmd'* *'sc'* *'noshowcmd'* *'nosc'* | 6772 *'showcmd'* *'sc'* *'noshowcmd'* *'nosc'* |
6770 'showcmd' 'sc' boolean (Vim default: on, off for Unix, | 6773 'showcmd' 'sc' boolean (Vim default: on, off for Unix, |
6771 Vi default: off, set in |defaults.vim|) | 6774 Vi default: off, set in |defaults.vim|) |
6772 global | 6775 global |
6773 {not available when compiled without the | 6776 {not available when compiled without the |