yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

Undo --setup #68

Closed auxym closed 3 years ago

auxym commented 5 years ago

Is there a --uninstall option?

Not sure why, but ever since I ran fvim --setup, on every reboot, fvim pops up with a line saying net start mavsc. I'm getting the feeling that fvim associated itself as the default app for .bat files, and not they are getting opened in fvim instead at executed at startup?

yatli commented 5 years ago

whooops!

see: https://www.winhelponline.com/blog/bat-files-do-not-run-when-double-clicked-fix-association/

You'll need fixes for .bat, .reg, .cmd, here:

https://www.winhelponline.com/blog/file-association-fixes-windows-10/

yatli commented 5 years ago

I'd probably need to revisit the shell documentation and check what's the proper verb for calling an editor.

auxym commented 5 years ago

Probably the "edit" verb. Thanks for the link to the reg fixes!

yatli commented 5 years ago

@auxym I've added uninstall option. It removes the FVim reg entries, but leaves the HKCR filetype trees intact, because I don't know what values to restore to.

Also updated to "edit" verb. Thanks!

yatli commented 5 years ago

Changing to "edit" verb does not fix the interference with .cmd, .ps1, .bat. Reopening.

yatli commented 4 years ago

Update: removed the bad associations... Still looking for a fix to the problem.

yatli commented 3 years ago

Added heuristics for this..