I like my display on full brightness with a dark colorscheme when coding. When switching from full screen Vim to a browser window or a terminal, the display settings make the screen far too bright. To avoid that, the following procedure sets the screen brightness to full when Vim gains focus, then sets the screen to half brightness when Vim loses focus. Download the command line brightness tool from here. Then add the following commands to your vimrc. :au FocusGained * :!brightness 1 :au FocusLost * :!brightness 0.5
Attributes | Values |
---|---|
rdfs:label |
|
rdfs:comment |
|
Version |
|
dbkwik:vim/property/wikiPageUsesTemplate | |
Previous |
|
Category |
|
Subpage |
|
Complexity |
|
Created |
|
ID |
|
NEXT |
|
abstract |
|