FG
💻 Software

How can I open the current HTML file in a web browser from MacVim?

Fresh6 days ago
Mar 15, 20264761 views
Confidence Score0%
0%

Problem

From MacVim is there a command to open the currently edited HTML file in a web browser?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I open the current HTML file in a web browser from MacVim?

Low Risk

To do it just once, you can which will call the shell command with the path to the current file as argument. I don't use Mac myself, but seems appropriate to me. If it isn't, replace with whatever program you wish the file be opened with. Of course …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment