Ⅰ. 插件描述
textmate command-t vim implementation
Ⅱ. 基本信息
| 创建日期: 2011-03-28 |
| 使用用户: 3 |
| Github星: 9 |
| 插件作者: William Estoque |
|
|
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:
Plugin 'westoque/molly-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:
NeoBundle 'westoque/molly-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:
Plug 'westoque/molly-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/westoque/molly.vim
Ⅳ. 文档说明
- molly.vim
- ZOMG! Very fast and sexy textmate-like command-t plugin. It also works for regular vim.
- Dependencies
- The only hard dependency
molly needs is the unix find command. - Getting Started
- By default it uses
Leader Key + x but you can change it to whatever you want. - Currently is uses the vim default regex to parse the results, an example query would be: "users.*_test"
- Mappings
- Leader + x - open molly
- Enter - go to file
- Ctrl + v - open in a vertical split window
- Ctrl + s - open in a split window
- Up - go up
- Ctrl + k - go up
- Down - go down
- Ctrl + j - go down
- TODOs
- Better regex parser
- Vim documentation/help