Display Numeric Keys in Editor VI

I tried to display the numpad keys for work (e.g. /). What I did: map! / (On the numeric keypad) / but when I try to use it, I get "Q" and then "/" and a space after.

+3
source share
2 answers

I found this thread, looking for the same, so for the answer to the record for me it was used <kDivide>as a key:

map! <kDivide> :help <kDivide><CR>

+3
source

Located on the numeric keypad or in the main area of ​​the keyboard, the keys /send a simple "/", therefore they cannot be distinguished from the vi point of view.

+2
source

All Articles