Search code examples
vimtranslation

A vim plugin for translators


Is there any vim plugin which allows splits for translations. (e.g. 2 vetical splits. one sentence per some block one left side, and mine translated text on right side. and even if translated text bigger than original it will display proper highlighted block on left side)


Solution

  • Maybe this works for you:

    • Use two files, one containing the original texts, one containing the translations.
    • Both files have one sentence per line.
    • Open both files in a vertically split window (:vs).
    • Use :set wrap to see more lines at a time.
    • While still on the first line, enter :set scrollbind and :set cursorbind in both windows. This will keep both windows in sync when you jump back and forth with the cursor.