Ⅰ. 插件描述
A suggested path for learning Vim's scripting language, VimLⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'dahu/learnviml'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'dahu/learnviml'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'dahu/learnviml'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/dahu/learnviml
Ⅳ. 文档说明
The Way of the VimL Wizard
A suggested path for learning Vim's scripting language, VimL.
This help file teaches the VimL scripting language using a progressive
set of reading assignments and followup hands-on exercises. It is aimed
primarily at existing programmers, however beginners can do the external
tutorials referenced within.
LearnVimL
- is written in Vim help format, internal to Vim itself
- has comprehensive coverage of VimL, from basics to the gritty stuff with
maps, :redir, plugins, etc. - relies heavily on the existing Vim documentation with assessment questions,
exercises and challenges to reinforce learning - comes with a searchable set of sample code snippets covering the builtin
functions and idiomatic VimL - authored by a group of experienced VimL coders, each sharing their individual
skills, tips and tricks to rapidly steer you toward VimL excellence.
Install
- Linux / OS X:
Copy http://github.com/dahu/LearnVimL/raw/master/doc/learnviml.txt to your ~/.vim/doc/ directory.
- Windows:
Copy http://github.com/dahu/LearnVimL/raw/master/doc/learnviml.txt to your $HOMEvimfilesdoc directory.
Run :helptags ~/.vim/doc/ from within Vim.
Type :help learnviml to get started.