
0 votes
in vifm by

Is there a way to remap arrow keys with pressed Ctrl or Alt to something else? Ideally it would be <nop> becouse right now after pressing Ctrl + <right> Vifm copies current file 5 times.

showkey -a tells that Ctrl + <right> produces ^[[1;5C which explains Vifm's behavior.

1 Answer

0 votes
selected by
Best answer

You can map such sequences by using <esc> instead of ^[:

:noremap <esc>[1;5C <nop>

Perfect. Thank you.
