tirenweb
tirenweb

Reputation: 31729

Sync vim and a regular text editor

I usually prefer to write my website's paragraphs in LibreOffice. After finishing, I have to copy and paste the text to vim. I would prefer to keep "connected" this two editors, so what I write in LibreOffice is also in vim.

Is there any way to sync contents?

Solutions using Latex are also welcomed, since it is more hackable..

Upvotes: 2

Views: 276

Answers (1)

Roland Smith
Roland Smith

Reputation: 43523

Add set autoread in your .vimrc. Then open the file both in vim and libreoffice, and vim will automatically reload the file if it detects changes.

BTW, if you are missing automatic line filling in vim, look at the formatoptions variable.

Upvotes: 1

Related Questions