Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
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.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.