Hi, I'm trying to use notepad++ as my editor. I have the following in my vifmrc:
set vicmd="C:\Program Files (x86)\Notepad++\notepad++.exe"
But I get the following error when trying to launch a .txt file.
'C:Program' is not recognized as an internal or external command,
operable program or batch file.
use single quotes and nest double quotes inside them to account for both slashes (single quotes) and spaces (double quotes):
set vicmd='"C:\Program Files (x86)\Notepad++\notepad++.exe"'
Note though that not everything will work when you set 'vicmd' to something that's not Vim-like. Vifm makes some assumptions about what command-line options 'vicmd'-program accepts (e.g., to set cursor on a particular line when opening a file from :grep menu).