Open christoomey opened 9 years ago
Using chrome-cli I can execute arbitrary JS in a page context. Just need to slap together the right system call from Vim. A start:
chrome-cli
execute
function! s:ExecuteInPageConsole() let line = escape(getreg("."), "'") silent call system("chrome-cli execute '" . line . "'") endfunction command! ExecuteInPageConsole call <sid>ExecuteInPageConsole()
Using
chrome-cli
I canexecute
arbitrary JS in a page context. Just need to slap together the right system call from Vim. A start: