vim-dispatch-neovim icon indicating copy to clipboard operation
vim-dispatch-neovim copied to clipboard

Output is split at teminal/window width

Open blueyed opened this issue 9 years ago • 1 comments

When using the terminal method (https://github.com/radenling/vim-dispatch-neovim/blob/85deb470b53ab796e6201b3345de588f1d648555/autoload/dispatch/neovim.vim#L62-L78), the lines end up being split at the width of the terminal window, which then causes issues when using it with &errorformat etc. For the other method, there's some joining of lines in place, but this would require for the terminal buffer to have soft-wrapping capabilities.

blueyed avatar Aug 29 '16 17:08 blueyed

Using tee to write into the tempfile directly in that case seems to be a good workaround!

But it breaks e.g. Python's pdb slightly: cursor keys etc are not recognized anymore. To reproduce it:

python -c 'import pdb; pdb.set_trace()' | tee /tmp/tmp.txt

blueyed avatar Aug 29 '16 17:08 blueyed