mycomment


Ⅰ. 插件描述

one mapping for comment: c

Ⅱ. 基本信息

创建日期:  2015-12-16
使用用户:  3
Github星:  7
插件作者:  qiming zhao

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'chemzqm/mycomment'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'chemzqm/mycomment'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'chemzqm/mycomment'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/chemzqm/mycomment.vim

Ⅳ. 文档说明

# Mycomment



DEPRECATED

A stupid comment plugin made for people can't remember so many mappings:)

You only need to remember one mapping for comment: <leader>c

Install

Use your favourite plugin manager add something like Bundle 'chemzqm/mycomment.vim'

API

[count]<leader>cc

Toggle comment of count(default current line) lines.

<leader>cip

Toggle comment of a block. Yes, it's a motion mapping, ip could be any motion object.

V***<leader>c

Select a block and toggle comment

More productive

You can use . to repeat your last comment command, no need vim-repeat.

If you have emmet-vim, the plugin would use emmet comment function for comment toggle of tags in html/xml/xhtml files

LICENSE

MIT

添加新评论