Mercurial > vim
comparison runtime/doc/options.txt @ 9852:4eea48b76d03 v7.4.2201
commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 12 18:29:59 2016 +0200
patch 7.4.2201
Problem: The sign column disappears when the last sign is deleted.
Solution: Add the 'signcolumn' option. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 12 Aug 2016 18:45:06 +0200 |
parents | 35ce559b8553 |
children | 9eaf8ef656e9 |
comparison
equal
deleted
inserted
replaced
9851:eafd017d8a5a | 9852:4eea48b76d03 |
---|---|
1 *options.txt* For Vim version 7.4. Last change: 2016 Jul 29 | 1 *options.txt* For Vim version 7.4. Last change: 2016 Aug 12 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
259 these are not used. Instead, for each buffer-local option there also is a | 259 these are not used. Instead, for each buffer-local option there also is a |
260 global value, which is used for new buffers. With ":set" both the local and | 260 global value, which is used for new buffers. With ":set" both the local and |
261 global value is changed. With "setlocal" only the local value is changed, | 261 global value is changed. With "setlocal" only the local value is changed, |
262 thus this value is not used when editing a new buffer. | 262 thus this value is not used when editing a new buffer. |
263 | 263 |
264 When editing a buffer that has been edited before, the last used window | 264 When editing a buffer that has been edited before, the options from the window |
265 options are used again. If this buffer has been edited in this window, the | 265 that was last closed are used again. If this buffer has been edited in this |
266 values from back then are used. Otherwise the values from the window where | 266 window, the values from back then are used. Otherwise the values from the |
267 the buffer was edited last are used. | 267 last closed window where the buffer was edited last are used. |
268 | 268 |
269 It's possible to set a local window option specifically for a type of buffer. | 269 It's possible to set a local window option specifically for a type of buffer. |
270 When you edit another buffer in the same window, you don't want to keep | 270 When you edit another buffer in the same window, you don't want to keep |
271 using these local window options. Therefore Vim keeps a global value of the | 271 using these local window options. Therefore Vim keeps a global value of the |
272 local window options, which is used when editing another buffer. Each window | 272 local window options, which is used when editing another buffer. Each window |
6731 close to the beginning of the line. | 6731 close to the beginning of the line. |
6732 NOTE: This option is set to 0 when 'compatible' is set. | 6732 NOTE: This option is set to 0 when 'compatible' is set. |
6733 | 6733 |
6734 Example: Try this together with 'sidescroll' and 'listchars' as | 6734 Example: Try this together with 'sidescroll' and 'listchars' as |
6735 in the following example to never allow the cursor to move | 6735 in the following example to never allow the cursor to move |
6736 onto the "extends" character: | 6736 onto the "extends" character: > |
6737 | 6737 |
6738 :set nowrap sidescroll=1 listchars=extends:>,precedes:< | 6738 :set nowrap sidescroll=1 listchars=extends:>,precedes:< |
6739 :set sidescrolloff=1 | 6739 :set sidescrolloff=1 |
6740 < | |
6741 *'signcolumn'* *'scl'* | |
6742 'signcolumn' 'scl' string (default "auto") | |
6743 local to window | |
6744 {not in Vi} | |
6745 {not available when compiled without the |+signs| | |
6746 feature} | |
6747 Whether or not to draw the signcolumn. "auto" means it will only be | |
6748 drawn when there is a sign to display. | |
6740 | 6749 |
6741 | 6750 |
6742 *'smartcase'* *'scs'* *'nosmartcase'* *'noscs'* | 6751 *'smartcase'* *'scs'* *'nosmartcase'* *'noscs'* |
6743 'smartcase' 'scs' boolean (default off) | 6752 'smartcase' 'scs' boolean (default off) |
6744 global | 6753 global |