LinuxCommandLibrary

vifm

Vim-like dual-pane file manager

TLDR

Start vifm

$ vifm
copy
Start in directory
$ vifm [/path/to/dir]
copy
Start with two panes
$ vifm [/left/path] [/right/path]
copy
Execute command
$ vifm -c "[command]"
copy
Choose file (output selection)
$ vifm --choose-files [output_file]
copy

SYNOPSIS

vifm [-c command] [--choose-files file] [options] [paths]

DESCRIPTION

vifm is a file manager with vim-like keybindings. It provides dual-pane navigation with familiar modal editing.
Vi keybindings make navigation fast. j/k moves, h goes up, l enters directories. Marks, registers, and macros work similarly.
Dual pane layout enables easy file operations between directories. Tab switches focus. Operations can target the other pane.
File operations use familiar patterns. yy yanks, p pastes, dd deletes. Visual mode selects multiple files.
Customization through vifmrc configures keybindings, colors, and behavior. Previews, icons, and scripts extend functionality.
Integration with shell enables cd-on-exit. The chosen directory changes the shell's working directory.

PARAMETERS

-c CMD

Run command on start.
--choose-files FILE
Write selection to file.
--choose-dir FILE
Write directory to file.
--select PATH
Select file on start.
--on-choose CMD
Run on file choose.
-h, --help
Show help.
--version
Show version.

KEY BINDINGS

j/k

Move down/up.
h/l
Parent/enter directory.
yy
Yank (copy).
dd
Delete.
p
Paste.
cw
Rename.
/
Search.
:q
Quit.
Tab
Switch pane.
Space
Select file.
za
Toggle hidden.

CAVEATS

Learning curve for non-vim users. Some operations differ from vim. Configuration needed for optimal experience.

HISTORY

vifm was created around 2001 as a curses-based file manager with vim-style keybindings. It continues active development with modern features.

SEE ALSO

ranger(1), nnn(1), mc(1), lf(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community