Basically, I want to tell Vim:
PS: Unfortunately I use Windows XP
If you are running Vim on windows, then this will work:
:! start http://localhost/index.php
This will use the default browser, if you wanted to start a specific browser then you would need the explicit path to the executable (instead of start).
From the Vim help cmd:
:!{cmd}
Execute {cmd} with the shell. See also the 'shell' and 'shelltype' option.
Obviously, if you are on some other system you just need to use the appopriate command to start the browser on that platform.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With