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

hi, i want to map <C-v> to select the dscontinuous file, for example

file_0.txt
file_1.txt // press C-v on this file then moving down the cursor....
file_2.txt
file_3.txt
file_4.txt // press C-v on this file
file_5.txt
file_6.txt // press C-v on this file
file_7.txt // press C-v on this file
file_8.txt
file_9.txt

and eventually the file_1.txt file_4.txt file_6.txt file_7.txt get highlight

is it possible?

2 Answers

0 votes
by

appreciate for helping me :)

0 votes
by

Sounds like you're talking about t key, you can map it to T like this to also move the cursor down (or map over t if you prefer it this way):

nnoremap <silent> T tj

You can also use visual mode by leaving it with Enter to keep selection and re-entering with av to select more files.

...