Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 325 by [email protected]: Background color for inactive windows / per window
https://code.google.com/p/vim/issues/detail?id=325

I have created a plugin which uses a hack to highlight the current window by dimming the inactive ones: https://github.com/blueyed/vim-diminactive

It does this by using the 'cursorcolumn' setting and/or 'syntax=off'.

While this works quite OK, there are several issues with this method:
1. Performance!
2. It does not handle long lines properly (a maximum of 256 columns can be highlighted using &cursorcolumn.
3. It does not handle non-lines ("~").

I could imagine having a new colorscheme highlighting group for this (background of inactive windows) instead.

Apart from that I could also imagine some windows-local variable to control the background color for it. That would make it more flexible, and allow to use different colors per buffer type for example (quickfix etc).

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui