Skip to content

Instantly share code, notes, and snippets.

@ruedap
Last active December 20, 2015 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruedap/6193722 to your computer and use it in GitHub Desktop.
Save ruedap/6193722 to your computer and use it in GitHub Desktop.
Setup livestyle-vim for Mac

Setup livestyle-vim for Mac

  • Mac OS X: 10.8.4
  • MacVim: 7.3 (KaoriYa 20121213)
  • Chrome: 28.0.1500.95

1. Install golang

$ brew install hg
$ brew install go
$ go version
go version go1.1.1 darwin/amd64

2. Install chrome addon

https://chrome.google.com/webstore/detail/emmet-livestyle/diebikgmpmeppiilkaijjbdgciafajmg/related

3. Install livestyle-vim

  • Insert NeoBundle 'mattn/livestyle-vim' to .vimrc
  • Run :NeoBundleInstall
$ cd ~/.vim/neobundle/livestyle-vim/livestyled
$ GOPATH="/Users/ruedap/bin/go/gopath" go get code.google.com/p/go.net/websocket
$ GOPATH="/Users/ruedap/bin/go/gopath" go build livestyled.go

4. Enable LiveStyle

  • Turn on "Enable LiveStyle for current page" in Chrome DevTools
  • Run :LiveStyle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment