textutil.vim : Vim plugin for editing rtf,rtfd,doc,wordml files.
| script karma
Downloaded by 2822
Comments, bugs, improvements
script versions (upload new version)
When you open rtf, rtfd, doc or wordml file with Vim,
editing file format is automatically converted to plain text.
And when you write file, file format is automatically converted to
rtf, rtfd, doc or wordml file format.
When this script convert rtf, rtfd, doc or wordml file to plain text with textutil command,
this script use "g:textutil_txt_encoding" encoding.
Default value of "g:textutil_txt_encoding" is 'utf-8'.
You want to change text encoding, set "g:textutil_txt_encoding" in your $HOME/.vimrc file.
This script is based on 'textutil' command.
So this script will only run on MacOS 10.4 or later.
| 1. Copy the textutil.vim script to the $HOME/.vim/plugin directory.
Refer to ':help add-plugin', ':help add-global-plugin' and ':help runtimepath'
for more details about Vim plugins.
2. Restart Vim.
Click on the package to download.
ip used for rating: 220.127.116.11