Vim - web Preview files in Browser

1

1

I have been toying around with vim. I have too many plugins and unknown things in my vim rc. Going to start again with it basic.

Wanting to get back into vim and use it as a web editor. One thing I can't figure out is how to preview the file in a browser and have the browser change on source change.

Is this possible, if yes how please ?

sayth

Posted 2012-10-17T13:48:10.370

Reputation: 115

Answers

1

First, let me applaud you for your decision.

Second, the topic as been discussed to death with no real conclusive answer:

romainl

Posted 2012-10-17T13:48:10.370

Reputation: 19 227

so there is livereload for chrome and firefox http://feedback.livereload.com/knowledgebase/articles/86242-how-do-i-install-and-use-the-browser-extensions- The exec function in the second solution doesn't appear to work. If I can figure it will have a look.

– sayth – 2012-10-17T23:28:06.507

I've never managed to make livereload work reliably. I settled for a browser extension that reloads the page every x seconds. It sounds dumb but it works better than the smart solutions. – romainl – 2012-10-18T05:05:29.550