Usually Vim tutorials on remapping keys will only show how to remap and assume you already know how to call a certain key within Vim, such as the well-known <esc> or <F2>. But what if I need first to know how my key is called (and even if it is available for remapping)?

In my specific case, I'm trying to remap KEY_SCROLLLOCK to esc, but I don't know how Vim represents it, nor where I could find a list of all available keys in Vim.

1 Answer 1


In vim, see :help key-notation (I don't see KEY_SCROLLLOCK in there though)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .