1

Is it possible in neovim to execute a command in the neovim's internal terminal and redirect output to a real buffer that'd support toggling word wrap?

Currently terminal buffer doesn't allow you to disable word wrap and so it's not practical for many cases when output has long lines that you need to be able to copy.

2

1 Answer 1

0

As described in the reddit post linked by Daniel the answer to my question is to use nvr.

In neovim's internal terminal you can run command like this:

<cmd> | nvr -o -
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.