1
0
forked from aniani/vim

patch 8.2.2531: Vim9: the :k command is obscure

Problem:    Vim9: the :k command is obscure.
Solution:   Disallow using :k, can use :mark instead. (closes #7874)
This commit is contained in:
Bram Moolenaar
2021-02-19 21:42:57 +01:00
parent 12d265315f
commit 10b9421f3b
7 changed files with 40 additions and 5 deletions

View File

@@ -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,