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.

How to remap Ctrl-Space?

0 votes
asked Aug 4, 2018 in vifm by anonymous

How to remap Ctrl-Space?

1 Answer

0 votes
answered Aug 4, 2018 by xaizek
selected Aug 7, 2018 by xaizek
Best answer

There is no way. Moreover, I think there is no way to do this at all. At least if I press Ctrl-V Ctrl-Space in a shell I don't get anything as if no code for it exists.

UPDATE: As pointed out in comments, it is possible. In Vim it works with <c-@> sequence and this is what next version of vifm (the one after 0.9.1) will have.

commented Aug 4, 2018 by anonymous

Thanks for reply. Zsh can do it through bindkey '^ '.

commented Aug 4, 2018 by xaizek

Thanks for pointing that out. It generates null-character ('\0'), which requires special handling to make it work, but it means that it isn't impossible then.

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.