Skip to content

mrbru12/stopwatch.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

stopwatch.nvim ⏱️

An extremely simple plugin to keep track of how much time has passed since you started your current instance of Neovim.

Installation

Using packer.nvim:

use 'mrbru12/stopwatch.nvim'

Usage

Example setup as a lualine.nvim custom component:

-- Your lualine.lua configuration file

require('lualine').setup {
    sections = {
        -- This will display the elapsed time beside the file name 
        lualine_c = { 'filename', require('stopwatch').default },
    },
}

The elapsed time is formatted as hh:mm by default, without the seconds, because I find them a bit distracting. However, if you want to change something, you can format it yourself using the plugin functions!

About

Keep track of how long Neovim has been running

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages