voggle


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2018-04-10
使用用户:  1
Github星:  6
插件作者:  Jasper

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Voggle

This plugin can toggle from one thing to another.
For example:

`True <-> False`  
`== <-> !=`  
`+ <-> -`  

It will (try to) toggle whatever item the cursor is over when :Voggle is called.
So you can just bind that to some key with for example: nmap t :Voggle<Enter>

You can also toggle between more than 2 things, like: A -> B -> C -> A


This plugin was made mostly for personal use and for me to learn some basic vimscript, but feel free to use it and/or give me suggestions.

添加新评论