From 81f137ee1a11000c12df6f8720c0510b84c87386 Mon Sep 17 00:00:00 2001 From: u80864958 Date: Fri, 11 Oct 2024 16:48:04 +0200 Subject: [PATCH] updated readme --- .timer.toml | 4 ++-- README.md | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.timer.toml b/.timer.toml index 37fcbfa..687edb1 100644 --- a/.timer.toml +++ b/.timer.toml @@ -1,7 +1,7 @@ ## dates and their corresponding seconds been here :) [24-10-08] u80864958_at_u80864958 = 425 +[24-10-11] +u80864958_at_u80864958 = 6021 [24-10-07] u80864958_at_u80864958 = 432 -[24-10-11] -u80864958_at_u80864958 = 5497 diff --git a/README.md b/README.md index 7c73ff0..4d35957 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,22 @@ Counts the time in your editor inside on directory. Not beeing inside the editor for less than 5 minutes gets counted as beeing inside the editor. +## Usage + +### Show time + +```:Timer```: prints the time inside this directory. If ```.timer.toml``` exists it get's included. + +```:TimerLog```: logs the current time table. + + +### Save time + +Time gets automatically saved, when neovim is closed. Given that the ```.timer.toml``` file exists. +If it doesn't Timer searches the next 10 higher directories for one. If there isn't one either nothing get's persisted. + +```:TimerSave```: saves the current time to ```.timer.toml```. If the file doesn't exist it gets created. + ## Installation Lunar vim: