fix F1-F4 on normal mode (do like xterm)

Tested on vim and mc.