From ArchWiki
Revision as of 09:39, 23 June 2010 by Bdjnk (talk | contribs) (Added some useful information.)
Jump to: navigation, search

Vifm is a ncurses based file manager with vi like keybindings. If you use vi, vifm gives you complete keyboard control over your files without having to learn a new set of commands. Source: Vifm on sourceforge.


Vifm is in Community:

# pacman -S vifm

For tiling window managers

With tiling window managers, the command "xterm -e vifm" may result in Vifm restricted to only a small part of the window. The following AUR package, vifm-for-tiling-wm, takes care of this problem.

Customizing Vifm

Copy the default config file to your home folder

$ cp /usr/share/vifm/vifmrc ~/.vifm/vifmrc

You can then make any changes that suit your working style.

To get started, read the information avaliable in:

  • /usr/share/vifm/vifm.txt
  • /usr/share/vifm/vifm-help.txt

Opening filetypes in Vifm

You can assign applications to filetypes in vifmrc, eg.


User commands

You can also create custom commands in vifmrc, eg.

COMMAND=feh=feh -Fp. *.*

Creating symbolic links

COMMAND=ln=ln -s %d/%f %D

When you call :ln, a link of the selected file is made in the other directory (if you are in split view). It even works with multiple files selected with visual (v) or tag (t).


Another text based filemanager with vi like keybinds is Ranger.