mkotyk / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

vim background settings #348

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start vim under mintty
2. :set background

What is the expected output? What do you see instead?
It shows light.
If I start vim under cmd.exe, it shows dark.

What versions of mintty, Cygwin/MSYS, and Windows are you using?
Latest stable version from setup.exe.

Please provide any additional information below.

Original issue reported on code.google.com by leventd...@gmail.com on 2 Aug 2012 at 5:30

Attachments:

GoogleCodeExporter commented 8 years ago
Vim guesses the background type based on the TERM setting. For "xterm", it 
guesses 'light', which means it'll also be wrong for an xterm configured with a 
dark background. There's nothing mintty can do about that, i.e. you'll just 
need to put 'set background=dark' into your .vimrc.

Original comment by andy.koppe on 2 Aug 2012 at 6:27