All Projects → Dinduks → Vim Holylight

Dinduks / Vim Holylight

Licence: wtfpl
A Vim plugin for MacBook users that automatically sets the background to light or dark depending on the ambient light

Labels

Projects that are alternatives of or similar to Vim Holylight

Vim Qargs
A Vim plugin that adds a :Qargs utility command, for populating the argument list from the files in the quickfix list.
Stars: ✭ 50 (-12.28%)
Mutual labels:  viml
Ansible Splunk Simple
Simple deployment of Splunk using Ansible, static host lists.
Stars: ✭ 53 (-7.02%)
Mutual labels:  viml
Vim Alignta
Align Them All!
Stars: ✭ 54 (-5.26%)
Mutual labels:  viml
Ctrlp Extensions.vim
Plugins for ctrlp.vim
Stars: ✭ 51 (-10.53%)
Mutual labels:  viml
Viki vim
A personal wiki for Vim
Stars: ✭ 52 (-8.77%)
Mutual labels:  viml
Vim Togglemouse
Toggles the mouse focus between Vim and your terminal emulator, allowing terminal emulator mouse commands, like copy/paste.
Stars: ✭ 53 (-7.02%)
Mutual labels:  viml
Vim Seeing Is Believing
Stars: ✭ 50 (-12.28%)
Mutual labels:  viml
Vim Sauce
Multiple source file management for Vim
Stars: ✭ 55 (-3.51%)
Mutual labels:  viml
Bookmark
[DEPRECATED] 웹 즐겨찾기
Stars: ✭ 53 (-7.02%)
Mutual labels:  viml
Vimdown
A dirty tool to convert .vimrc and .vim script files to markdown
Stars: ✭ 54 (-5.26%)
Mutual labels:  viml
Fmacvim
MacVim + essential plugins + my custom (and awesome) .vimrc
Stars: ✭ 52 (-8.77%)
Mutual labels:  viml
Pep8
Check your python source files with PEP8
Stars: ✭ 52 (-8.77%)
Mutual labels:  viml
Yaml Vim
YAML Highlight script for VIM editor
Stars: ✭ 53 (-7.02%)
Mutual labels:  viml
Vim Lookup
Jump to the definition of variables or functions in VimL code.
Stars: ✭ 51 (-10.53%)
Mutual labels:  viml
Rubyblue
A collection of themes for different text editors that mimic the colors used in the code samples on ruby-lang.org
Stars: ✭ 54 (-5.26%)
Mutual labels:  viml
Vimtips Fortune
A vimtips to fortune software.
Stars: ✭ 50 (-12.28%)
Mutual labels:  viml
Javacomplete
Omni Completion for JAVA
Stars: ✭ 53 (-7.02%)
Mutual labels:  viml
Grep.vim
Grep search tools integration with Vim
Stars: ✭ 56 (-1.75%)
Mutual labels:  viml
Vim Better Javascript Completion
An expansion of Vim's current JavaScript syntax file.
Stars: ✭ 55 (-3.51%)
Mutual labels:  viml
Vim Giphy
Giphy in your vim
Stars: ✭ 54 (-5.26%)
Mutual labels:  viml

Holy Light

What is it?

Using a dark background for Vim (background=dark) is eyes-friendly. But in luminous environments, it makes text quite hard to read, and it requires setting the background variable to light.

Holy Light is a Vim plugin for MacBook users that sets that setting automatically each time a file or buffer is opened.

Installation

Holy Light is Pathogen-friendly.
You simply need to git clone the this repository in your bundle directory, and reload your Vim configuration (source $MYVIMRC).

How does it work?

The plugin calls the bin/holylight-checker program in order to get the current ambient light value from the MacBook's sensor.
Depending on the returned value it sets background's value to light or dark.

The binaries' source code can be found here.

Customization

If the setting that sets the background to light or dark doesn't suit you, you can easily change it.

Simply run the bin/realtime-checker program, then set the g:holylight_threshold variable to the value that suits you.

The name

It is named after Stratovarius' Holy Light song.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].