Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when I open a file on Microsoft Windows #56

Closed
crile opened this issue Dec 10, 2020 · 2 comments
Closed

Error when I open a file on Microsoft Windows #56

crile opened this issue Dec 10, 2020 · 2 comments

Comments

@crile
Copy link

crile commented Dec 10, 2020

Hi,

I can open vifm in vim but it fails when I want to open a file.

There is the following error :

:! vifm  "c:/tmp"  "--choose-files"
"C:\Users\crile\AppData\Local\Temp\VICE74D.tmp" "--on-choose" "echo
\""database_.tmpdatabase_.tmpVIFM_OPEN_TYPEdatabase_.tmpdatabase_.tmp\"">C:\Users\crile\AppData\Local\Temp\VIDE75D.tmp"
"+command EditVim   :let $VIFM_OPEN_TYPE='edit' | execute 'cnoremap j <cr>' |
normal gs:editj" "+command VsplitVim :let $VIFM_OPEN_TYPE='vsplit' | execute
'cnoremap j <cr>' | normal gs:editj" "+command SplitVim  :let
$VIFM_OPEN_TYPE='split' | execute 'cnoremap j <cr>' | normal gs:editj"
"+command DiffVim   :let $VIFM_OPEN_TYPE='vert diffsplit' | execute 'cnoremap j
<cr>' | normal gs:editj" "+command TabVim    :let $VIFM_OPEN_TYPE='tablast |
tab drop' | execute 'cnoremap j <cr>' | normal gs:editj"

Erreur détectée en traitant function <SNR>33_StartVifm[107]..<SNR>33_HandleRunResults :
ligne   55 :
E492: Commande inconnue: database_.tmpdatabase_.tmpVIFM_OPEN_TYPEdatabase_.tmpdatabase_.tmp database.tmp

Windows 10,
vifm-w64-se-0.11-binary,
vim 8.1.1

@xaizek xaizek closed this as completed in 9dab321 Dec 10, 2020
@xaizek
Copy link
Member

xaizek commented Dec 10, 2020

Hello,

thanks for the report, updated master should have this fixed.

@crile
Copy link
Author

crile commented Dec 11, 2020

Thanks for the very quick fix, it works now :)

xaizek added a commit to xaizek/vifm that referenced this issue Dec 14, 2020
Got broken on recent change to not escape special symbols ever, which
should have been escaping them optionally (`:!` needs it).

Thanks to Cyril SANTUNE (a.k.a., crile).

Fixes vifm/vifm.vim#56 on GitHub.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants