An extremely simple plugin to keep track of how much time has passed since you started your current instance of Neovim.
Using packer.nvim:
use 'mrbru12/stopwatch.nvim'
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!