Re: Set highlight colours according to screen

2015-05-15 Thread Paul
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=#50 | hi CursorLine guibg=#004000 | hi CursorColumn guibg=#004000 guifg=gray80 |endif | | If you're on a

Re: Set highlight colours according to screen

2015-05-14 Thread Paul
Paul Paul.Domaskis at gmail.com writes: It looks like writing a function is the way to go. It will consist of a few highlighting commands. Thanks. The application of the color scheme file seems to be triggered by many things. So it looks like the best implementation of the solution is for

Re: Set highlight colours according to screen

2015-05-14 Thread Paul
Paul Paul.Domaskis at gmail.com writes: The application of the color scheme file seems to be triggered by many things. So it looks like the best implementation of the solution is for the colour scheme file to contain an if statement that sets colours according to a global flag. You manully

Re: Set highlight colours according to screen

2015-05-14 Thread Gary Johnson
On 2015-05-15, Paul wrote: Paul Paul.Domaskis at gmail.com writes: The application of the color scheme file seems to be triggered by many things. So it looks like the best implementation of the solution is for the colour scheme file to contain an if statement that sets colours according

Set highlight colours according to screen

2015-05-13 Thread Paul
My local laptop monitor isshall we say, different from an external monitor. I find that I have to adjust the screen colours. However, I switch between the native monitor and an external monitor a lot. In vim, is there a way to check whether the monitor os the local one or not? I can

Re: Set highlight colours according to screen

2015-05-13 Thread David Fishburn
On Wed, May 13, 2015 at 4:17 PM, Paul paul.domas...@gmail.com wrote: My local laptop monitor isshall we say, different from an external monitor. I find that I have to adjust the screen colours. However, I switch between the native monitor and an external monitor a lot. In vim, is there

Re: Set highlight colours according to screen

2015-05-13 Thread Paul
David Fishburn dfishburn.vim at gmail.com writes: If you extend your monitor, then you can use the window position to check. I extend mine above my existing monitor (instead of beside it). These functions report negative values for me when I move it to the extended monitor. getwinposx() 0