-1

This question already has an answer here:

:scriptnames outputs a (not convenient) list with more at the bottom.

I'd like to have all the output in a buffer so i can search, edit ...

How do i do that?

marked as duplicate by Hotschke, peterh, grodzik, statox Feb 8 at 10:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

You can also directly paste it into the current buffer using

:put =execute(':scriptnames')
0

You could redirect the output to a register like:

:redir @a | silent scriptnames | redir END

And then past the content of the register wherever you want with "ap.

The silent is used here, to prevent a "-- More --" prompt.

You could also redirect to file or a script variable. See :help :redir.

Not the answer you're looking for? Browse other questions tagged or ask your own question.