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 want to select and deselect files/folder just with a single keystroke, e.g. the space key or the insert key. (Actually, that's how many other filemanagers use to work, e.g. mc)

For this I defined in my vifmrc:

nnoremap <Space> av<cr><Down>

This way I can select files/folder with the space key only. However I can't deselect them with space. Does anybody have an idea how to accomplish that?

1 Answer

0 votes
by
selected by
 
Best answer

Sounds like you want to use t key:

nnoremap <Space> t<Down>
by

Thank you, that's exactly what I was looking for!

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