Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

Hello, if I press cw I am able to move around with CTRL+{A,E,F,B}, but I can't jump by word with CTRL+ (left/right arrow keys). And ALT+B goes to start of the entire word.

I instead get the key codes inserted: ^[[1;5D and ^[[1;5C

I also have this set:
bindkey "^[[1;5D" backward-word
bindkey "^[[1;5C" forward-word

Is it possible? If not that's alright, I don't mind. Thank you!

1 Answer

+1 vote
by
selected by
 
Best answer

Hi.

See 'wordchars' option if you want to change hehaviour of Alt+..., for example:

:set wordchars=1-8,14-31,a-z,A-Z 

I instead get the key codes inserted: ^[[1;5D and ^[[1;5C

curses doesn't provide combination of arrows and modifiers, see this issue. You can use cnoremap similar to bindkey as is shown in the first comment. I'm still unsure how to handle this nicely.

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.
...