Mercurial > vim
diff runtime/doc/various.txt @ 22958:e7c125224b1a
Update runtime files
Commit: https://github.com/vim/vim/commit/4466ad6baa22485abb1147aca3340cced4778a66
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 21 13:16:30 2020 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Nov 2020 13:30:04 +0100 |
parents | bbca88cd13d5 |
children | b7d3c79075c5 |
line wrap: on
line diff
--- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -1,4 +1,4 @@ -*various.txt* For Vim version 8.2. Last change: 2020 Aug 20 +*various.txt* For Vim version 8.2. Last change: 2020 Nov 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -142,15 +142,17 @@ 8g8 Find an illegal UTF-8 byte sequenc quit < *:z* *E144* -:{range}z[+-^.=]{count} Display several lines of text surrounding the line - specified with {range}, or around the current line - if there is no {range}. If there is a {count}, that's - how many lines you'll see; if there is no {count} and - only one window then twice the value of the 'scroll' - option is used, otherwise the current window height - minus 3 is used. +:[range]z[+-^.=][count] Display several lines of text surrounding the line + specified with [range], or around the current line + if there is no [range]. - If there is a {count} the 'window' option is set to + If there is a [count], that's how many lines you'll + see; if there is no [count] and only one window then + twice the value of the 'scroll' option is used, + otherwise the current window height minus 3 is used. + This is the value of "scr" in the table below. + + If there is a [count] the 'window' option is set to its value. :z can be used either alone or followed by any of @@ -168,7 +170,7 @@ 8g8 Find an illegal UTF-8 byte sequenc If the mark is "=", a line of dashes is printed around the current line. -:{range}z#[+-^.=]{count} *:z#* +:[range]z#[+-^.=][count] *:z#* Like ":z", but number the lines. *:=*