Open diegodorado opened 2 years ago
I ended up calling curl directly to send the buffer:
function! ImprovizSend()
call system('curl -d "' . join(getline(1,'$'), "\n") . '" http://localhost:3000/read')
endfunction
" vim-tidal bindings for improviz
au Filetype improviz nmap <buffer> <c-e> :call ImprovizSend()<CR>
Not great since I do not read the results for line error...
I looked at the code and I see the python script is using "neovim" .. does this means that it only works on neovim and not on standard vim?