Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)

like image 328
sl_bug Avatar asked Jul 14 '12 23:07

sl_bug


1 Answers

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.
like image 179
Zak Avatar answered Sep 25 '22 13:09

Zak