Zdenek wrote:
> I'm currently trying to write test script for checking background type
> (based on terminal color) in Vim. I have 'dark' terminal, so Vim
> normally recognizes it and sets 'background' to 'dark', but when I
> use:
>
> $ vim -c 'redir @">|silent set bg?|redir END|enew|put|w!
Hi!
I'm currently trying to write test script for checking background type (based
on terminal color) in Vim. I have 'dark' terminal, so Vim normally recognizes
it and sets 'background' to 'dark', but when I use:
$ vim -c 'redir @">|silent set bg?|redir END|enew|put|w! testfile|q'
then I have