Skip to content

FractalCodeRicardo/eyes-wide-bright

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Eyes wide bright

I simple neovim plugin to keep your eyes healthy

image

Usage

To use Eyes Wide Bright with Lazy, add the plugin to your plugin list and configure it like this:

{
    "FractalCodeRicardo/eyes-wide-bright",
    config = function()
        require("eyes-wide-bright").setup({
            mode = "normal"  -- options: "normal", "warm", "cold"
        })
    end
}

🎥 Video Sample Usage

See Eyes Wide Bright in action in this demonstration:

Eyes Wide Bright Demo

Click the image above to watch the video on YouTube.

In this video, you’ll see:

  • How to adjust brightness levels using the default keymaps
  • Switching between modes: normal, warm, and cold
  • Restoring your original theme

Default Keymaps

The plugin comes with the following default keymaps:

  • <leader>m – Increase brightness
  • <leader>l – Decrease brightness
  • <leader>r – Restore your current theme

Commands

The plugin provides the following commands:

  • :EyesIncrease – Increase brightness
  • :EyesDecrease – Decrease brightness
  • :EyesReset – Restore your theme
  • :EyesMode <normal|warm|cold> – Change the mode

Customize Configuration

You can customize the plugin by passing your own settings to the setup method.
Here’s an example:

return {
    "FractalCodeRicardo/eyes-wide-bright",
    config = function()
        require("eyes-wide-bright").setup({
            mode = 'normal',         -- options: "normal", "warm", "cold"
            increase_key = '<leader>m', -- keymap to increase brightness
            decrease_key = '<leader>l', -- keymap to decrease brightness
            reset_key = '<leader>r'     -- keymap to restore your theme
        })
    end
}

About

I simple neovim plugin to keep your eyes healthy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages