Vifm in Windows 7 x64 filetype default for OS
Vifm is invoking Vim as just vim
, and assumes it is accessible through your system's PATH
, which does not seem to be the case.
The Vim installer (C:\Program Files\vim\vim74\install.exe
) has an option to install vim.bat
wrapper scripts into C:\WINDOWS
; you can re-execute the installer to add those. Alternatively, append the Vim installation directory to your (user or system) PATH
environment variable (through the Control Panel).
Ingo is right about the way vim is called by default, there is just no really good way of doing it on Windows (vim
works well on Unix-like systems). You should know that there are simpler ways to accomplish what you want than modifying PATH
environment variable or installing vim.bat
. Here is a quick guide:
First you need to setup a configuration file. It can be placed under
%HOME%
or%USEPROFILE%
directories. The simple way to find default location on your system is to run:echo $VIFM
command inside vifm. You can usedata/vifmrc
file as an example (though, it's mostly Linux-oriented), just copy it to configuration directory.Now you can configure actual command to run Vim. It's done using
vicmd
option (at the top of the samplevifmrc
). An example:set vicmd=e:/programs/editors/vim/vim73/gvim.exe
(spaces in the path might make it a bit different).-
The sample
vifmrc
also contains this commented out line closer to the bottom of the file:" filetype * start, explorer
Just uncomment it to open files with standard Windows associations by default.
Don't forget to reopen vifm, or try using
:restart
command to reload configuration file.
besides the fact it can't be fullscreen-maximized
Actually, vifm can, it's cmd.exe
that stands in the way. Use properties of a running console window (see context menu of an icon in the left top corner) to change window dimentions. You can quickly check that vifm supports resizing by changing size using :set columns+=1
and set lines+=1
commands. Alternatively, use something like ConEmu or Console2 instead of cmd.exe
to run vifm, those are nice replacements of standard console.
If there are any other (windows compatible) file manager that has Vi key bindings, please list them all down.
Sorry, I can't name any, this is kinda a reason why vifm supports Windows.