skippr
skippr

Reputation: 2706

Converting VIM text file to .doc or .docx

Scenario:

I type up a plain text file in VIM.

vim some_text_file

Question:

Is there a way to convert some_text_file into .doc or .docx format from within a terminal?

Upvotes: 1

Views: 1520

Answers (1)

Zsolt Botykai
Zsolt Botykai

Reputation: 51653

Yes, you can do something like

pandoc  -s -S YOURTEXTFILE -o YOURDOC.docx 

if you have pandoc installed.

Upvotes: 3

Related Questions