Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

hi guys,

thank you for your time,

In VIFM version 0.12, I am using the command :find -type f

to display recursively all files in a certain directory.

I obtain a list of files in a Panel, with white edges

what's the shortcut to open this list in VIM - to make some changes on files name

For a few months I was able to do this, but after a while I didn't use it,

I lost the command, and I can't find it in the manual either.

Greetings from Munich

1 Answer

0 votes
by

Hello,

If you're talking about renaming files, you were probably using b key followed by :%rename command.

by

thank you for your answer xaizek.

If you're talking about renaming files, you were probably using
b key followed by :%rename command.

not exactly, from this view (please see the screenshot), I was able with something like

alt-e

to open VIM with all files name in it

by

The closest builtin key is v, but you're unlikely to mean it. Check whether :mmap shows you any user mappings, maybe you have configured a custom shortcut in vifmrc.

by

to be sure, I restored an old backup of the VIFMRC file, close and restarted, and the behaviour is the same

I search recursiv with :find -type

got the quicklist result

then I press the key v

this opens the file (in this case video source code ) instead of displaying the list in VIM

You are right, I can remember it was the key v

I've got to find the reason ...

by

Hi everyone,

I asked this question a year ago and backtracking to clarify..

The list that appears in a window is called quickview not quicklist.

And to import this list into Vifm’s panels (for example, to rework filenames or perform other very useful operations), you should use the b key, not the v key.

by

Hi,

The list that appears in a window is called quickview not quicklist.

That's worth clarifying:

  • "quickview" is the preview of a file in the inactive pane that start after executing :view command
  • "quicklist" is Vim's concept which doesn't really exist in Vifm but somewhat alluded to by menus and some :commands
  • both :nmap and :find open a menu, but the latter is treated as a list of paths which supports navigation and turning into a "custom view" (state of a pane that doesn't correspond to an actual location within a file-system)
by

Ah, I see. Appreciate for taking me back

making, for e.g in vifm source directory

:find *config*

opens a window—with a solid white line, displaying the list of results inside.

The name of this window is menu

┌── Find *config* ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ./configure.ac                                                                                                                      │
│ ./configure                                                                                                                         │
│ ./config.log                                                                                                                        │
│ ./src/cfg/config.o                                                                                                                  │
│ ./src/cfg/config.h                                                                                                                  │
│ ./src/cfg/.deps/config.Po                                                                                                           │
│ ./src/cfg/config.c                                                                                                                  │
│ ./build-aux/config.sub                                                                                                              │
│ ./build-aux/config.guess                                                                                                            │

After pressing b, it opens a new window titled Custom View, displaying a navigable list of paths

 [Find *config*] @ ~/sync_dir/PROGRAM/BUILD_VIFM/BUILD_VIFM_0_14/vifm-0.14
 1    ../                                                                                                                         4 K
1 build-aux/config.guess                                                                                                     48 K
2 build-aux/config.h                                                                                                          9 K
3 build-aux/config.h.in                                                                                                     8.6 K
4 build-aux/config.sub                                                                                                       34 K
5 config.log                                                                                                                228 K
6 config.status                                                                                                              35 K
7 configure                                                                                                                 351 K
8 configure.ac                                                                                                               41 K
9 src/cfg/.deps/config.Po

After selecting items, we can perform useful operations like :rename , :move or :copy

If I may, I have a question: When I run :grep "Thanks to", I get no results, but when I run :grep Thanks to, I get a list of matches. How can I make grep accept backticks (or single quote) by default for compound words?

Because writing a compound word without marking it confuses/disorients me

Thank you

by

How can I make grep accept backticks (or single quote) by default for compound words?

You need to specify an option, something like -F or -E should be neutral enough, for example:

:grep -F "Thanks to"

Or just get used to Vifm escaping the pattern for you. The point of :grep is to make using grep more convenient, otherwise it wouldn't differ much from command! mygrep grep -r %a %f %M.

...