Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'ldong/vim-listify'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'ldong/vim-listify'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'ldong/vim-listify'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/ldong/vim-listify
Ⅳ. 文档说明
# vim-listify
Author: Lin Dong
Date: Sun Feb 8 02:39:46 PST 2015
This project is generated using JarrodCTaylor/vim-plugin-starter-kit
Installation
Use your plugin manager of choice.
git clone https://github.com/ldong/vim-listify ~/.vim/bundle/vim-listify
- Add
Bundle 'https://github.com/ldong/vim-listify'to .vimrc - Run
:BundleInstall
- Add
- Add
NeoBundle 'https://github.com/ldong/vim-listify'to .vimrc - Run
:NeoBundleInstall
- Add
- Add
Plug 'https://github.com/ldong/vim-listify'to .vimrc - Run
:PlugInstall
- Add
Intro
Buffer Mode:
ListifyOrderBuffer, to order the whole buffer with numberListifyUnorderBuffer, to order the whole buffer with*
Selection (visual) Mode:
ListifyOrderSelection, to order the selected area with numberListifyUnorderSelection, to order the selected area with*
Demos

Reference
- Vim Doc
- Vim Easily Edit Macros
- Scripting Vim with Python
- Vim Hardway
- VIM: Optional line range for command / function - Stack Overflow
- Python: Importing modules from parent folder - Stack Overflow
- Vim obtain string between visual selection range with Python - Stack Overflow
- JarrodCTaylor/vim-js2coffee
License
MIT