diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-31 17:49:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-31 17:49:14 +0100 |
commit | 21c3a80a7fd6b7fc250ce5dc287963511f54b86f (patch) | |
tree | cd168faa29c9027bc3f7edfd2b6f2e87defa90b8 /src/ex_cmds.h | |
parent | 92a3d20682d46359bb50a452b4f831659e799155 (diff) | |
download | vim-git-21c3a80a7fd6b7fc250ce5dc287963511f54b86f.tar.gz |
patch 9.0.0342: ":wincmd =" equalizes in two directionsv9.0.0342
Problem: ":wincmd =" equalizes in two directions.
Solution: Make ":vertical wincmd =" equalize vertically only and
":horizontal wincmd =" equalize horizontally only.
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 3ebbf232b..8da0da1c9 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -707,6 +707,9 @@ EXCMD(CMD_hide, "hide", ex_hide, EXCMD(CMD_history, "history", ex_history, EX_EXTRA|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_NONE), +EXCMD(CMD_horizontal, "horizontal", ex_wrongmodifier, + EX_NEEDARG|EX_EXTRA|EX_NOTRLCOM, + ADDR_NONE), EXCMD(CMD_insert, "insert", ex_append, EX_BANG|EX_RANGE|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK|EX_MODIFY, ADDR_LINES), |