Contents
What do you need to know about VIFM?
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt. If you use vi, Vifm gives you complete keyboard control over your files without having to learn a new set of commands.
Where does VIFM start in the command line?
If you use vi, vifm gives you complete keyboard control over your files without having to learn a new set of commands. vifm starts in the current directory unless it is given a different directory on the command line or ‘vifminfo’ option includes “savedirs” (in which case last visited directories are used as defaults).
What are the two types of associations in VIFM?
There are two kinds of associations that are defined with different commands (on Windows, they are equivalent as it always runs in graphics mode): filextype – for graphical-only commands (e.g. gvim ). Some launchers are defined in sample vifmrc file, which is automatically installed on the first run for a new user.
What’s the shortcut to quit VIFM in normal mode?
Using normal mode (main mode, in which Vifm starts) shortcut ZZ . Or with the help of command-line mode (the one entered after : is pressed) command :q, which should be followed by the Enter key to be executed. See also Quitting Vifm . Movements are very much Vim-like.
Why do I need to install sample vifmrc file?
That said, normally sample vifmrc file is installed for your convenience, which among other things configures vifm to remember last visited location (remove savedirs from line that starts with set vifminfo= to disable this). path changes left (or top) pane to specified path.
How to open a file in VIFM plugin?
After arguments are checked, vifm process is spawned in a special “file-picker” mode. To pick files just open them either by pressing l, i or Enter keys, or by running :edit command. If no files are selected, file under the cursor is opened, otherwise whole selection is passed to the plugin and opened in vim.
What’s the default action for vifm in Vim?
If one wants, Vifm can be configured to use system-wide associations (see sample vifmrc file and look for filetype * ). Otherwise, one can configure commands to run in a more precise fashion. Default action for directories is entering them and for files it’s opening them with Vim.