jaxbot / browserlink.vim

Live browser editing for Vim
MIT License
711 stars 38 forks source link

Snippets feature #23

Open jaxbot opened 10 years ago

jaxbot commented 10 years ago

See: http://www.reddit.com/r/vim/comments/2d2jiw/seamlessly_working_between_chrome_inspector_and/cjlp0e0

jaxbot commented 9 years ago

Trying to figure out the best way to engineer this. It's possible to have a file and mark the regions you want, then select and BLEval them, but I think it would be valuable to be able to run some sort of BLSnip and store the snippet, then BLRun to have it executed on the client side.

A use case example includes having a section of code that executes an API function and re-running the code would execute it on the page.