This is a port of the srt.nvim extension for NeoVim for SubRip
subtitles.
Features
Passive features
Durations and pauses
'Characters per second' warning
Warnings for durations too long, too short, overlapping
Warnings for pauses being too short
Automatically corrects indices after editing
Commands
Jump cursor to subtitle by index
Merge two or more subtitles
Split subtitles into two
Sort subtitles by start time
Fix overlapping timings for one or all subtitles
Shift one, multiple or all subtitles by a given offset
Add a subtitle
Shift the beginning or end time of a duration (based on cursor position)
Shift with strict timing
Settings
In addition to configuring global warnings, you can also specify the warnings minDuration (minimum
duration in milliseconds), maxDuration (maximum duration in milliseconds), maxLength (maximum
length per line) and maxLengthSub (maximum length per entire subtitle) based on how many lines are
in a subtitle: