Ⅰ. 插件描述
As many useful commands and functions for Scheme as possibleⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/scheme-mode'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/scheme-mode'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/scheme-mode'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Scheme-Mode
Ⅳ. 文档说明
" This is a simple fileplugin supposed to help you write Scheme code fast." Comes with shortcuts for usual patterns such as if, cond, case, as" well as lets (normal, letrec and named let), syntax-rules, and eventually" a header generator and shortcuts to inser (print) lilke statements." Since many of those patterns have placeholders for code, f and s tags are" mapped to what can be thought of as 1st place and 2nd place. For example, in" an if, first place is the #t branch, and second place is the #f branch"" Little help with motions is given too. Mapped <C-l> and <C-h> to the next and" previous Sexp, in depth parsing order."" You are more than suggested to define the bindings as you want them." I chose <Leader>sX so that the "s" reminds you scheme, though is slows down" typing quite a bit. Moreover, you might not want a 3 keyed shortcut to start a" quoted list..."" Also comes with a function that closes all open brackets.