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!

...