Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ggandor/vim-srt-sync
- Owner: ggandor
- License: unlicense
- Created: 2018-12-25T10:15:32.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2021-06-05T11:26:41.000Z (over 3 years ago)
- Last Synced: 2024-08-07T18:46:08.708Z (3 months ago)
- Topics: srt, subtitle, vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 8.79 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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
```
:ShiftSrtThe 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.