Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

Windows OS install and initial configuration

0 votes
asked Apr 20 in vifm by Cawento
edited Apr 21 by xaizek

Hello I want to ask if there is any Windows Vifm "guide for dummies" with the needed info to install and configure Vifm in a very basic and usable starter level.

I mean right now Im on Windows 7 x64 and proceed to download and extract "vifm-w64-se-0.10-binary.zip" to C:\Vifm\ folder where I clic "vifm.exe" and a very tiny command prompt window opens with the program running but impossible to resize and with completely messed up colors... I dont even know how to maximize and I tried to configure colorschemes in vifmrc file but they do not work give and error or simply show incorrectly even worse than the default.

Do I need to compile or install any Linux related application to complete Vifm install or am I good to go with the provided zip file?

I think the problem is because Vifm runs inside a command prompt shell window and the default configurations are only ready for linux console emulators not cmd.exe?

Please does anybody know where are references to configure Vifm window in Windows OS at least to resize it?

Also can the shell window be changed to another command interpreter like Cmder instead of cmd.exe?

Im not a newbie with computers actually I can use gVim text editor quite well and that is what pointed me to this excellent program but unfortunately Im only a Windows user and I have to say I find a lack of information about this OS which is a shame because this could be something really big and is certainly much needed.

Thanks for your help.

1 Answer

0 votes
answered Apr 21 by xaizek

Hi.

There is no such guide, you simply run it (and possibly create some shortcuts). After that you get a usual cmd.exe window. It's just that until Windows 10, cmd.exe couldn't be resized as other windows. You have to right click on an icon in the top-left corner to get a menu, open up properties of the console and resize it there. It normally remembers settings for future runs of the same application. You can also modify size from inside vifm by trying something like:

set columns+=100
set lines+=50

Until you figure out the desired size.

I tried to configure colorschemes in vifmrc file but they do not work give and error or simply show incorrectly even worse than the default.

Maybe you used wrong syntax or wrong color names. You'd need to show the error message. Not sure what's wrong with the colors, maybe you have modified color scheme for cmd.exe (I think it can be done permanently in Windows registry).

Do I need to compile or install any Linux related application to complete Vifm install or am I good to go with the provided zip file?

You don't need extra applications, defaults on Windows use Windows-related commands. Previews of files like highlighting of code would need something to be installed, but regular navigation or file processing should work out of the box.

I think the problem is because Vifm runs inside a command prompt shell window and the default configurations are only ready for linux console emulators not cmd.exe?

Not really. There are samples with external commands for Unix-like systems, they are valid examples for Windows, although might not have equivalents there.

Also can the shell window be changed to another command interpreter like Cmder instead of cmd.exe?

For that you need to create a shortcut and specify command to run vifm inside cmder there. If you just click on an executable Windows will use cmd.exe, I don't think it's possible for vifm to change this somehow.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...