Hydrate.nvim Save

Reminders to keep hydrated while you code

Project README
GitHub Workflow Status (with event) GitHub release (with filter)

💧 hydrate.nvim 💧

Neovim plugin to remind you to keep hydrated while you code
'Water is the only drink for a wise man' - Henry David Thoreau

Lua "Buy Me A Coffee"

Table of contents

Installation

Optional requirements

lazy.nvim

{
  "stefanlogue/hydrate.nvim",
  -- This installs the latest stable release.
  -- Set to false or omit to install the latest development version
  version = "*",
  opts = {
    -- See below for config options
  }
}

Config

This is a list of the options that can be passed to require("hydrate").setup() with their default values:

{
  -- The interval between notifications in minutes
  minute_interval = 20,

  -- The render style for notifications
  -- Accepted values are "default", "minimal", "simple" or "compact"
  render_style = "compact",

  -- Loads time of last drink on startup
  -- Useful if you don't have long-running neovim instances
  -- or if you tend to have multiple instances running at a time
  persist_timer = false
}

Commands

  • HydrateWhen - Prints minutes until next drink
  • HydrateNow - Tell us you've had a drink so we can reset the timer
  • DrinkInterval - Set the interval between drinks in minutes
  • HydrateDisable - Disable hydration reminders
  • HydrateEnable - Enable hydration reminders

Contributing

Please read the CONTRIBUTING guide before submitting a pull request.

Acknowledgements

stand.nvim for the general idea

Open Source Agenda is not affiliated with "Hydrate.nvim" Project. README Source: stefanlogue/hydrate.nvim
Stars
57
Open Issues
1
Last Commit
2 months ago

Open Source Agenda Badge

Open Source Agenda Rating