Ctrl-V does exactly this. You can go into insert mode, then hit C-V, Ctrl+Up and it will display:
<C-Up> You can :help keycodes to see a list of others. On 9/21/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
Hi, I often have the problem to guess, how a certain keysequence is named by the syntax of the vim scripting language. Recently I tried to map Control-CursorUp but it simply does not work for me. Is there any function/script/hack/trick/* like Ctrl-v is for the "raw keysequence" to display the <"key"> thingy? Something like (example!) : :showkey<CR> will display :press key then one presses the key in question (for example Alt plus F11...) and then it displays: :<C-F11> ... (an example only just to get around my limitied "power of explanation"... ;O) ???? Keep hacking! mcc
