I know I can do:
bindkey "...." action
where .... is what i get by typing ctrl-v and then ctrl-f1. but it looks bad, contains bad characters (^[), and is generally not cool.
when binding to f1, i can do:
bindkey -k k1 action
but I can't seem to find termcap capability name for ctrl-functionkey.
Where can I find it?
When I press ctrl-v ctrl-f1 on terminal I get:
these are 4 bytes, not 5:
=$ echo "^[O5P" | hexdump -C 00000000 1b 4f 35 50 0a |.O5P.|