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

I'm using tmux bindings of ctrl-h and ctrl-l to move across panes, and I'd like to unbind vifm's default bindings for these. there are two questions that the manual, google, and forums have not answered:

  • how does one unbind a key?
  • once it's unbound, will vifm ignore the keystroke and allow it to bubble to tmux?

1 Answer

0 votes
by
 
Best answer

how does one unbind a key?

You can only unbind a user-level mapping (via nunmap/vunmap/etc.), but not builtin mappings.

once it's unbound, will vifm ignore the keystroke and allow it to bubble to tmux?

tmux is the first one to see keystokes, which it then passes to the application if they're not mapped to anything in tmux. You have to explicitly invoke a tmux command from an application to emulate passing a keystroke back. Analogies with UI frameworks don't really work here.

You might want to look at this Wiki page about integration with tmux for examples.

by

You nailed it, 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.

Support Ukraine
...