Try with commands and :command hasmapto