{ "Asthestarsfalll/clock.nvim" }
Optionally, install nvim-notify for more prominent notifications.
require("clock").setup()
require("clock").setup({
default_inter = 1,
default_info = "ticktack! ticktack! ticktack!",
restart = false,
icon = "⏰",
})
ClockMe
- Set Clock Event, Format: ClockMe ['EventInfo'][interval][!]
, all the arguments are optional
. !
means wether to repeat timing.
example:
-- this will remind you to eat lunch after every 10 minutes
ClockMe 'Eat Lunch' 10!
-- this will remind you to eat lunch after 10 minutes once
ClockMe 'Eat Lunch' 10
-- this will remind you to eat lunch after every default interval
ClockMe 'Eat Lunch'!
-- this will remind you to do sth after 10 minutes
ClockMe 10
-- this will remind you to do sth according to default setting
ClockMe
ClockWhen
- Display time remaining until next Clock.
Gotit
- Dismissing any notifications and restarting the timer, otherwise the timer will be blocked.
ClockAgain
- Restart last Clock Event.
- Support store clock events
- Show remaining time on statusline
- Support multiple clock events
- Stats of detail data
clock.nvim
is inspired by and adapted from stand.vim