This is a Vim-plugin that provides integration with Vifm.
Note: it is not self-sufficient and requires the application itself to be installed to work properly.
In addition to integrating Vifm into Vim, it also provides convenience services
to Vifm when it invokes Vim (for :help
command in particular if you enable
'vimhelp'
option) and makes Vim aware of Vifm-specific filetypes.
:EditVifm
- select a file or files to open in the current buffer:Vifm
- alias for:EditVifm
to be used like:vert Vifm
:PeditVifm
- select a file in preview window:SplitVifm
- split buffer and select a file or files to open:VsplitVifm
- vertically split buffer and select a file or files to open:DiffVifm
- select a file or files to compare to the current file with:vert diffsplit
:TabVifm
- select a file or files to open in tabs:VifmCs
- attempts to convert Vim's color scheme to Vifm's one
- Vim-style help for Vifm
- Handling of rename buffers
- Highlighting of Vifm-specific buffers (rename, external editing, configuration files)
Plugin always tracks the latest development of the application, which for the most part means documentation updates.
The interface between the plugin and Vifm has changed significantly in v0.8. Other than that versions don't have to match perfectly for all basic functionality to work correctly.
For a particular combination of pacman and vundle:
- Install the application with the following command:
sudo pacman -S vifm
- Add the following configuration to your
.vimrc
:
Plugin 'vifm/vifm.vim'
- Install this plugin with
:PluginInstall
.
Use different commands for other package/plugin managers.
sudo apt install vifm
Then see Vim 8+ Package install notes.
For vim 8 and later can install directly from git:
git clone https://github.com/vifm/vifm.vim.git ~/.vim/pack/bundle/start/vifm
Assuming bundle
is the name of your plugin/packages directory.