Ⅰ. 插件描述
Personal wiki link navigatorⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mmai/wikilink'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mmai/wikilink'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mmai/wikilink'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mmai/wikilink
Ⅳ. 文档说明
"WikiLink" is a Vim plugin which eases the navigation between files
in a personnal wiki
Links syntax currently supported follows Github's Gollum (https://github.com/gollum/gollum)
[[My displayed link|My link]]
This plugin also detects footerbar and sidebar files and splits the window accordingly (again, see Gollum for syntax)
Installation
Copy the wikilink.vim file into the $HOME/.vim/plugin/ directory
Configuration
Window split on footer and sidebar detection can be disabled by writing this
line on your .vimrc file :
let wikilinkAutosplit="off"
Usage
Hit the ENTER key when the cursor is on a wiki link
The corresponding file is loaded in the current buffer
Hit Shift + ENTER to go back