Eric Leenman wrote:
Hi,
I was wondering if you can combine arrow keys with Fx keys.
For example, can a mapping like <CTRL><left> be replaced with <F2><left>
The idea is to move mappings which use CTRL and ALT to Fx keys and
SHIFT-Fx keys.
This because CTRL and ALT are window-manager-dependend on Linux-distro's
Best Regards,
Eric
:map <F2><Left> <C-Left>
:map! <F2><Left> <C-Left>
Note that, unlike with the Ctrl, Shift and Alt keys, the sequence <press F2>
<release F2> <press Left> <release Left> _will_ activate the mapping.
Best regards,
Tony.