summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-02-19 21:42:57 +0100
committerBram Moolenaar <Bram@vim.org>2021-02-19 21:42:57 +0100
commit10b9421f3bb7ac971fa63bd025c4c603c98f4a49 (patch)
treed0e41baa8a966d3071f2ddcb6a142d837547b6dc /src/ex_cmds.h
parent12d265315fac9e4f3436c38a87f6d9a23b9e7e2b (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index e82e91bb37..7888d6fee0 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,