A neovim plugin - run ReadTime
to display word count and estimated read time of your document.
{
'rymdlego/readtime.nvim',
config = function()
require('readtime').setup()
end
},
Set your desired word-per-minute value in the setup.
{
'rymdlego/readtime.nvim',
config = function()
require('readtime').setup({
wpm = 220,
})
end
},
The plugin exposes the command ReadTime
.
Run it from command mode or bind it to a key for convenience.