Gary Johnson <garyjohn <at> spocom.com> writes:
|On 2015-05-15, Paul wrote:
|>
|>    if exists('g:lapscreen') "Compensate for yucky native laptop screen
|>       hi Normal guibg=#000050
|>       hi CursorLine guibg=#004000
|>       hi CursorColumn guibg=#004000 guifg=gray80
|>    endif
|>
|> If you're on a yucky laptop screen, type :let lapscreen='' followed
|> by ":colorscheme myColorScheme" without the quotes.  If you
|> subsequently switch to a nice external monitor, type ":unlet
|> lapscreen" without the quotes, followed by ":colorscheme
|> myColorScheme" without the quotes.  Note that for each highlight
|> command in the if-block, you should have a default corresponding
|> command above the if-block for the case that g:lapscreen is unset.
|
| You should be able to find something in your environment that tells
| you whether you're at or away from your desk, such as your IP
| address, or whether you're using your Ethernet or wireless
| interface.  Then you could use that information to set g:lapscreen
| automatically.

That's what I was hoping to get an answer on in my initial message.
If I find one, I'll post back.  However, I am also cognizant that I
should avoid over-automating this because there may be times when I do
flip open the local laptop cover because the big screen is being used
for something else.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to