:map command should display the current mapping if given only one argument
As in the title.
Currently if I execute :map a
, then it will just raise an error "Invalid number of arguments passed: 1 instead of at least 2".
However, the behavior in e.g. Vim, qutebrowser (there the command is :bind
instead) is that it will display the current mappings instead.
It would be preferable to change the behavior to this, because currently as far as I can see there's no way to check the current mapping as well.