vim-muse


Ⅰ. 插件描述

Vim plugin for writing poetry and prose

Ⅱ. 基本信息

创建日期:  2018-02-09
使用用户:  1
Github星:  7
插件作者:  Guthrie McAfee Armstrong

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'gmarmstrong/vim-muse'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'gmarmstrong/vim-muse'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'gmarmstrong/vim-muse'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/gmarmstrong/vim-muse

Ⅳ. 文档说明

Build Status

muse

muse is a Vim plugin for writing poetry and prose. It provides features such as
AABB rhyme suggestions, synonym replacement, and syllable counting. It was
originally written under the name rhymer as a rhyming assistant and syllable
counter for the UGAHacks 2018 hackathon.

Usage instructions are included in the doc/ directory, and are also available
with :help muse.

Installation with vim-plug

  1. Install vim-plug
  2. Add Plug 'gmarmstrong/vim-muse' to the plug call in your ~/.vimrc
  3. Restart Vim or enter :source $MYVIMRC
  4. Enter :PlugInstall vim-muse
  5. Restart Vim or enter :source $MYVIMRC
  6. Install Python 3 packages python-datamuse and nltk. Either:

    • Enter :MuseInstall if using pip3, or...
    • Install python-datamuse and nltk from PyPI and run
      nltk.download('cmudict') in Python 3

Updating

  1. Enter :PlugUpdate vim-muse
  2. Enter :MuseUpdate if using pip3, or upgrade python-datamuse and nltk
    from PyPI

添加新评论