Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ggandor/vim-srt-sync

One Vim command away from fixing out of sync subtitle files
https://github.com/ggandor/vim-srt-sync

srt subtitle vim vim-plugin

Last synced: about 1 month ago
JSON representation

One Vim command away from fixing out of sync subtitle files

Awesome Lists containing this project

README

        

# vim-srt-sync 🎥

Add delay to .srt files from Vim without opening a heavyweight editor or using online tools.

## Installation

Source the plugin file in your .vimrc (or use your favorite plugin manager).

## Usage
```
:ShiftSrt

The time shift value can be given as a group of integers, optionally prefixed by
a minus sign. By default, a number is interpreted as a millisecond value.
Hours, minutes, and seconds can be specified by postfixing the number with `h`,
`m`, `s`, respectively. Whitespace and any other characters in the pattern are
skipped altogether.

Examples:
```
:ShiftSrt 750
:ShiftSrt 3s
:ShiftSrt -2m 25s
```

When argument is not given, prompts for input.