0

I have a local web page with links to .txt files; I want Firefox to open the files with GVim, not in the browser window. How do I do this?

In Firefox "Options" → "General" → "Applications" → "plain text document" I have selected "Use GVim (default)". However, the files continue opening in a browser tab.

I did the same for PHP scripts: "Use GVim"; they open in a GVim window. Precisely the behavior I'm wanting with .txt files.

0

Apparently, cannot be accomplished. I have searched in 100 locations for an answer. Nothing.

My workaround : change the suffix of my .txt files to .txt.php. Now when I click on a link to open a text file, GVim opens the file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.