diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-02-19 21:42:57 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-02-19 21:42:57 +0100 |
commit | 10b9421f3bb7ac971fa63bd025c4c603c98f4a49 (patch) | |
tree | d0e41baa8a966d3071f2ddcb6a142d837547b6dc /src/ex_cmds.h | |
parent | 12d265315fac9e4f3436c38a87f6d9a23b9e7e2b (diff) | |
download | vim-git-10b9421f3bb7ac971fa63bd025c4c603c98f4a49.tar.gz |
patch 8.2.2531: Vim9: the :k command is obscurev8.2.2531
Problem: Vim9: the :k command is obscure.
Solution: Disallow using :k, can use :mark instead. (closes #7874)
Diffstat (limited to 'src/ex_cmds.h')
-rw-r--r-- | src/ex_cmds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h index e82e91bb3..7888d6fee 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -741,7 +741,7 @@ EXCMD(CMD_jumps, "jumps", ex_jumps, EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK, ADDR_NONE), EXCMD(CMD_k, "k", ex_mark, - EX_RANGE|EX_WORD1|EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK, + EX_RANGE|EX_WORD1|EX_TRLBAR|EX_SBOXOK|EX_CMDWIN|EX_LOCK_OK|EX_NONWHITE_OK, ADDR_LINES), EXCMD(CMD_keepmarks, "keepmarks", ex_wrongmodifier, EX_NEEDARG|EX_EXTRA|EX_NOTRLCOM, |