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 multiple files with one command. I thought that this command would do the trick:

:select *.jpg or 
:select! *.jpg

The result is: Invalid command name.
What am I doing wrong here?

1 Answer

+1 vote
edited by

:select and :unselect are available since 0.8.2 version, you must be using an older one.

If you can't update, there are less convenient ways:

  • switch 'hlsearch' option on (set hlsearch) and then do /\.jpg$ search, or
  • filter files with =\.jpg$, select all files (probably in visual mode) and then use zf or =<c-u> to clear the filter.

Yes, indeed, I have 0.7.8. Your solution works. Ty.

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