Vifm is a file manager using the curses interface, which provides a Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt. If you're used to Vi[m], Vifm gives you complete keyboard control over your files without having to learn a new set of commands.
Main Sections of the Wiki
- Contributing. Advice for those who would like to contribute bug reports or feature requests.
- Contributing to This Wiki. A place to map out and plan the topics found in the wiki.
- Development. Some information about Vifm's development process.
- Comparison with other file managers. Vifm compared to some other file managers.
- FAQ. Answers to frequently asked questions.
- Glossary. Explanation of abbreviations or ambiguous words.
- HOWTOs. Tutorials on various subjects.
- Manual. Main tutorial.
- Obtaining Vifm. Details about obtaining Vifm for different environments.
- Tips and Tricks. Description of some possibly unexpected/non-obvious uses of features.
- Utility scripts. Scripts that help utilize external applications.
- Vifm on the Web. List of pages related to Vifm.
Quick Overview of Features
To make it easier to understand Vifm's use cases and to connect features to their configuration and keyboard mapping, some details are provided in the spoiler sections.
- cross-platform (GNU/Linux, *BSD, Solaris, Windows, Mac OS)
- vi-like user mappings ...
Input model is very Vi[m]-like.
Ambiguity leads to timeouts (see 'timeoutlen' option) as with builtin commands.
Mappings can include angle bracket notation to designate various special keys (e.g. Ctrl+X).
Note that mapped sequences can span across mode boundaries.
- ranges for command-line commands ...
Ranges provide a way to specify a range of files to be processed.
Employing ranges can change that to renaming all files with
:%substitute/pat/subst or grepping only file under the cursor with
Since ranges are not always handy to type manually, normal mode contains the ! command, which generates a range. For example, hitting !G yields :.,$.
- user-defined commands (support ranges)
- registers ...
Registers serve as additional buffers, which allow sorting files into several groups for later processing.
Some registers are managed implicitly and provide additional convenience. Others need to be named explicitly when calling commands (e.g., "xdd deletes file(s) in the
x register). Some registers are available by two names: lower-case and upper-case one; using the lower-case form reassigns the register's content, while the upper-case form appends files to it.
The :registers command shows a menu that displays files in the registers.
Content of registers can be saved across sessions.
- directory tree comparison
- multilevel operation undoing/redoing ...
Foreground file operations can be reversed and replayed again if their nature allows it. For example, deletion (not moving to trash) or file overwrite can't be reversed, on the other hand any rename operations can be reversed unless the previous file names conflict with names of newly created files. Irreversible operations require explicit confirmation of some form.
Undo is u, redo is Ctrl-R.
The undo list is not saved across sessions.
- FUSE file systems support
- renaming multiple files (also known as "bulk renaming" or "batch renaming")
- color schemes, which can also be applied to specific subtrees ...
They can be applied either at a global level or hierarchically for specific directories and all of their subdirectories.
- colorization of files according to their type and/or name
- vi-like marks and named bookmarks (tags)
- operation backgrounding
- customizable file viewers
- handy less-like preview mode with color support
- (interactive) filtering out and searching using regular expressions, highlights partially matched files
- one or two pane view (vertical or horizontal) ...
Single pane view is enabled by Ctrl-W+o or :only commands.
Vertical split is activated by Ctrl-W+v or :vsplit commands.
Horizontal split can be activated by Ctrl-W+s or :split commands.
Any of the above commands can be placed into the configuration file to set up the initial view layout after startup.
- shell-like command-line editing
- table/ls/tree-like views
- customizable file name prefixes and suffixes
- built-in integration with GNU Screen and tmux
- external editing of command line
- multi-block selection
- remembering position in previously visited directories
- remote command execution
- command-line abbreviations
- ability to script configuration for specific directories
- trash ...
Apart from being storage for files which are about to be erased, this is also a place for files that were "cut" (which corresponds to "delete" operation in Vi[m]), but not pasted yet.
Trash is enabled by default ('trash' option) and it is better to leave it in this state. 'trashdir' can be used to customize the location of trash directories, which are media-specific by default and are named
A list of files in trashes is available using the :lstrash command. :trashes lists trash directories themselves, optionally along with their sizes. Inside a trash directory, the :restore command restores files to the place they used to be. It's also possible to just move files by other means, which will automatically demangle their names.
Use the :empty command to clean trashes in the background.
Registers are connected with trashes, which allows managing several groups of files at the same time.