potwiki.vim


Ⅰ. 插件描述

Maintain a Wiki of plain text files

Ⅱ. 基本信息

创建日期:  2004-06-20
使用用户:  2
Github星:  4
插件作者:  Edwin Steiner

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

If you like to keep notes in plain text files you might like this script.
potwiki provides functions and mappings for conveniently maintaining
a Wiki of text files with vim.

The Wiki is a collection of text files in a single directory. These files
can contain hyper links to each other in the form of WikiWords.

A WikiWord is a word which starts with an upper case letter and contains
at least one lower case letter and another upper case letter in this
order -- it's in 'camel case', e.g.

  ThisIsAWikiWord

Such a WikiWord links to a file of exactly the same name in your
Wiki directory.

When opening a Wiki file potwiki scans your Wiki directory to find
which WikiWords are valid links. WikiWords without a corresponding
file are highlighted as errors (otherwise it doesn't matter).

After installing the plugin see :help potwiki for further documentation.

   The default mappings are defined as follow (By default, <Leader> stands
   for ''. See |Leader| for more info) :

   <Leader>ww   - open the Wiki HomePage
   <Leader>wi   - open the Wiki index
   <Leader>wf   - follow a WikiWord (can be used in any buffer!)
   <Leader>we   - edit a Wiki file

   The following mappings are present when editing a Wiki file:

   <Leader><Leader> - close the file
   <CR>             - follow the WikiWord under the cursor
   <Tab>            - move to the next WikiWord
   <BS>             - move to the previous WikiWord
   <Leader>wr       - reload WikiWords

添加新评论