Ⅰ. 插件描述
Wikipedia syntax with added functionality for taking notesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/wikinotes'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/wikinotes'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/wikinotes'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/wikinotes
Ⅳ. 文档说明
It is very practical to keep all kinds of notes in simple text files (as for example suggested in David Allen's "Getting Things Done" and blogs like joelonsoftware.com).
Combining this with the editing mightiness of vim and some syntax highlighting for better structuring, you've got an easy but powerful tool for notes at your hand.
I used the Wikipedia syntax as base, since it's proven simple human-readable syntax, that is well known.
Then I added a few features like c-style commenting and html link highlighting.
Screenshot: http://www.oxpal.com/downloads/vim/wikinotes_syntax.png
It's most practical when setting this syntax file as standard for .txt or .wiki files. It then can also be used for editing actual Wikipedia text using vim (you might want to check out the firefox "it's all text" extension).