Create QC entries directly from an *.ass subtitle file
commit7fd755fcd82954a9df9ab835f088d2ef85d64e0a
authorlys <lys@hostname.local>
Fri, 3 Jun 2016 01:16:15 +0000 (3 01:16 +0000)
committerlys <lys@hostname.local>
Fri, 3 Jun 2016 01:16:15 +0000 (3 01:16 +0000)
treed0987c3b2a9213128a136c2c1fb7c6e65556b5ae
parent319f8cbc2edd52a723e1a7c8cd58694a9c7bef8e
Create QC entries directly from an *.ass subtitle file

Create a new ftdetect and ftplugin for *.ass subtitle files so we can
define a mapping for these files.

Create a mapping in *.ass files to easily add lines of dialogue to a QC
file. This mapping expects the current tab to contain 2 windows, one
with the subtitle file and the other with the QC file. Invoking the
mapping from the subtitle file adds the line of dialogue on the current
line as the last entry in the QC document.

In order to be able to call the `NewEntry()` function from the new *.ass
ftplugin, I needed to move the function to 'autoload'. The `sub_qc`
ftplugin's mappings are updated to the function's new location.
autoload/sub_qc.vim [new file with mode: 0644]
ftdetect/ass.vim [new file with mode: 0644]
ftplugin/ass.vim [new file with mode: 0644]
ftplugin/sub_qc.vim