vim-listify


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2015-02-08
使用用户:  2
Github星:  0
插件作者:  Alan Dong

Ⅲ. 安装方法

使用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.

  • Pathogen

    • git clone https://github.com/ldong/vim-listify ~/.vim/bundle/vim-listify
  • Vundle

    • Add Bundle 'https://github.com/ldong/vim-listify' to .vimrc
    • Run :BundleInstall
  • NeoBundle

    • Add NeoBundle 'https://github.com/ldong/vim-listify' to .vimrc
    • Run :NeoBundleInstall
  • vim-plug

    • Add Plug 'https://github.com/ldong/vim-listify' to .vimrc
    • Run :PlugInstall

Intro

Buffer Mode:

  • ListifyOrderBuffer, to order the whole buffer with number
  • ListifyUnorderBuffer, to order the whole buffer with *

Selection (visual) Mode:

  • ListifyOrderSelection, to order the selected area with number
  • ListifyUnorderSelection, to order the selected area with *

Demos

demo

Reference

  1. Vim Doc
  2. Vim Easily Edit Macros
  3. Scripting Vim with Python
  4. Vim Hardway
  5. VIM: Optional line range for command / function - Stack Overflow
  6. Python: Importing modules from parent folder - Stack Overflow
  7. Vim obtain string between visual selection range with Python - Stack Overflow
  8. JarrodCTaylor/vim-js2coffee

License

MIT

添加新评论