rumblesan / improviz-vim

The Unlicense
1 stars 0 forks source link

I can't get the plugin working on vim #3

Open diegodorado opened 2 years ago

diegodorado commented 2 years ago

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?

diegodorado commented 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...