chromium-vim icon indicating copy to clipboard operation
chromium-vim copied to clipboard

mapping setMark to m<*> doesn't work

Open s-kramer opened this issue 9 years ago • 3 comments

Hello,

I've noticed that it's not possible to map the m key to setMark function. This is also confirmed by other users e.g.: https://gist.github.com/pablospe/de3715fd3f0084cfe8ed

Was this made on purpose? What is the rationale for this behavior?

This issue was reproduced on current master branch 0503d123b

s-kramer avatar Aug 21 '15 21:08 s-kramer

The brackets surrounding the asterisk in m<*> are meant to indicate that any key after m will be accepted. I've implemented it slightly differently in the code: the correct way to map this would be map m* setMark

1995eaton avatar Sep 18 '15 05:09 1995eaton

Shouldn't m key be mapped to setMark by default, like in vim?

tkossak avatar Aug 24 '16 13:08 tkossak

Please specify it in the mappings help file

elig0n avatar Apr 19 '20 11:04 elig0n