diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-09-04 13:44:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-04 13:44:01 +0200 |
commit | 7f2dd1e90c1d4a30c791fae20014594641769a1e (patch) | |
tree | ecccfbc440f9cfc99eec039af8dcb1625e797c3e /runtime/doc/various.txt | |
parent | deba5eb195d6ac70171d4973091fa884809fa3fa (diff) | |
download | vim-git-7f2dd1e90c1d4a30c791fae20014594641769a1e.tar.gz |
patch 8.2.3400: ":z!" is not supportedv8.2.3400
Problem: ":z!" is not supported.
Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
Use display height instead of current window height.
Diffstat (limited to 'runtime/doc/various.txt')
-rw-r--r-- | runtime/doc/various.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index 0ad12e804..10974ac18 100644 --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -170,8 +170,13 @@ g8 Print the hex values of the bytes used in the If the mark is "=", a line of dashes is printed around the current line. -:[range]z#[+-^.=][count] *:z#* - Like ":z", but number the lines. + *:z! +:[range]z![+-^.=][count] + Like ":z:", but when [count] is not specified, it + defaults to the Vim window height minus one. + +:[range]z[!]#[+-^.=][count] *:z#* + Like ":z" or ":z!", but number the lines. *:=* := [flags] Print the last line number. @@ -418,7 +423,7 @@ N *+multi_lang* non-English language support |multi-lang| m *+mzscheme* Mzscheme interface |mzscheme| m *+mzscheme/dyn* Mzscheme interface |mzscheme-dynamic| |/dyn| m *+netbeans_intg* |netbeans| - *+num64* 64-bit Number support |Number| + *+num64* 64-bit Number support |Number| Always enabled since 8.2.0271, use v:numbersize to check the actual size of a Number. m *+ole* Win32 GUI only: |ole-interface| |