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.


Found it. It was straight forward!

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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