I know about this thread. Using sed -n l, I get the following output

for pageUp : ^[[5~

for alt+pageUp : ^[[5;3~

The alt+pageUp seems to be sending new char altogether and not combination of Pageup char ^[[5~ and some other char.

1 Answer 1


Found it. It was straight forward!

:map <A-PageUp> {rhs}
  • 6
    See also ":help keycodes".
    – goldilocks
    Commented Feb 8, 2016 at 10:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.