Mercurial > vim
diff src/ex_cmds.h @ 25729:0f93e9423890 v8.2.3400
patch 8.2.3400: ":z!" is not supported
Commit: https://github.com/vim/vim/commit/7f2dd1e90c1d4a30c791fae20014594641769a1e
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Sat Sep 4 13:44:01 2021 +0200
patch 8.2.3400: ":z!" is not supported
Problem: ":z!" is not supported.
Solution: Make ":z!" work and add tests. (Dominique Pell?, closes https://github.com/vim/vim/issues/8836)
Use display height instead of current window height.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 04 Sep 2021 13:45:03 +0200 |
parents | 7d24fdd18672 |
children | d079ab2ba260 |
line wrap: on
line diff
--- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -1824,7 +1824,7 @@ EXCMD(CMD_yank, "yank", ex_operators, EX_RANGE|EX_WHOLEFOLD|EX_REGSTR|EX_COUNT|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_LINES), EXCMD(CMD_z, "z", ex_z, - EX_RANGE|EX_WHOLEFOLD|EX_EXTRA|EX_FLAGS|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, + EX_RANGE|EX_WHOLEFOLD|EX_BANG|EX_EXTRA|EX_FLAGS|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_LINES), // commands that don't start with a letter