Ⅰ. 插件描述
Vim plugin to easily debug rubyⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'victorfeijo/binding-pry-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'victorfeijo/binding-pry-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'victorfeijo/binding-pry-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/victorfeijo/binding-pry-vim
Ⅳ. 文档说明
# binding-pry-vim
This is a simple plugin that helps to debug ruby code using pry. In Ruby, this means adding abinding.pry where you need a line breakpoint. It work's simple, just tapping: <leader>b will add a binging.pry line
where your cursor are setted up.
Installation
If you are using Vundle add this line to your .vimrc:
Plugin 'victorfeijo/binding-pry-vim'
Otherwise, using pathogem.vim should work's great:
cd ~/.vim/bundle
git clone git://github.com/tpope/vim-endwise.gitLicende
MIT © Victor Feijo