From 7f2dd1e90c1d4a30c791fae20014594641769a1e Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Sat, 4 Sep 2021 13:44:01 +0200 Subject: patch 8.2.3400: ":z!" is not supported MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: ":z!" is not supported. Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836) Use display height instead of current window height. --- src/ex_cmds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ex_cmds.h') diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 480bf3c044..1ea74422c3 100644 --- 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 -- cgit v1.2.3