I am, just starting to use Kakoune, which I find a great editor.
I am on Debian,GNU/Linux, kakoune v. 2019.01.20.
The problems happens when I use kak in a urxvt terminal, while not with gnome-terminal.
I have no problem to map function keys form F5 to F12, but when I try to use mappings of, e.g., F2 I get, if in insert mode, 12~ printed. (Typing in the terminal cat F2 yields ^[[12~ ). This happens for functions keys F1, F2, F3 and F4.
Thanks for any suggestion