Ⅰ. 插件描述
Slamhound integration for vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'guns/vim-slamhound-all-too-well'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'guns/vim-slamhound-all-too-well'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'guns/vim-slamhound-all-too-well'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/guns/vim-slamhound
Ⅳ. 文档说明
vim-slamhound.txt Slamhound integration for vim
First install:
slamhound: https://github.com/technomancy/slamhound fireplace.vim: https://github.com/tpope/vim-fireplace<
If you are running Vim 7.3.802 or earlier, then you will also need to install
the Clojure runtime files:
https://github.com/guns/vim-clojure-static<
Then from a Clojure buffer run:
:Slamhound<
No mappings are supplied, but a useful mapping may be:
nnoremap <LocalLeader>sh :Slamhound<CR><
A function, slamhound#reconstruct(file, textwidth), is available for more
granular control.
vim:tw=78:et:sw=8:sts=8:ts=8:ft=help:norl: