Am 15.01.2020 um 22:22 schrieb Erhy:
> Hello!
> I want to compare the options set in VIM.
>
> Do you know, how to format of set all output
> that I have *for each option a separate line *?
>
> Thank you for tips
> Erhy
Apparently
:set
always (?) produces multi-column output.
(sounds like one of those little annoyances that others didn't bother to ask for years)
You could redirect to a buffer with very small temporary 'columns' setting (at least 12),
but that's awful.
Or :substitute the (redirected) multi-column output to get single column output:
:%s/ \+\ze\%(no\l\+\%(\s\|$\)\| \S\)/\r/gIe
Obviously the problem is how to not split within option values.
My example output (not given here) shows a statusline with spaces and these don't appear escaped, so one just
cannot skip escaped spaces -- just make it a bit more unlikely to split there.
--
Andy
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5E20CC93.1090505%40yahoo.de.
Thursday, January 16, 2020
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment