SwapIt 0.1.2

SwapIt is a Vim plugin that works as an extensible keyword swapper.
SwapIt is a Vim plugin that works as an extensible keyword swapper.

On a current word that is a member of a swap list use the incrementor/decrementor keys (:he ctrl-a,ctrl-x). The script will cycle through a list of related options.

eg. 1. Boolean

foo=true

in normal mode, pressing ctrl-a on the t will make it

foo=false

eg. 2. Multi Word Swaps.

Hello World! is a test multi word swap.

on 'Hello World!' go select in visual (vi') to get

'GoodBye Cruel World!'

eg 3. Defining custom swaps

A custom list is defined as follows.

:SwapList datatypes bool char int float double

The first argument is the list name and following args are members of the list.

About Vim:

Vim is a text editor first released by Bram Moolenaar in 1991 for the Amiga computer. Vim was created as an extended version of the vi editor, with many additional features designed to be helpful in editing program source code; its full name is Vi IMproved.

While Vim is cross-platform, it is most popular on Unix-like operating systems.

Released under a software license compatible with the GNU General Public License, Vim is free and open source software. The program's license includes some charityware clauses.

Like vi, Vim's interface is based not on menus or icons but on commands given in a text user interface; its GUI mode, gVim, adds menus and toolbars for commonly used commands but the full functionality is still expressed through its command line mode.

For many users learning Vim may be difficult and slow initially, but once the basics are understood they progress quickly and editing becomes more efficient. To facilitate this, Vim has a built-in tutorial for beginners. There is also the Vim Users' Manual that details the basic and more advanced Vim features. This manual can be read from within Vim, or found online.

Vim also has a built-in help facility (using the :help command) that allows users to query and navigate through commands and features.

Limitations:

This alpha version doesnt create the directory structure

Requirements:

Vim

INSTALLATION:

place swapit.vim in plugins directory

What's New in This Release:

Speed dating compatability enhancements.
swap on phrases with visual mode, some bug fixes.

last updated on:
July 14th, 2008, 13:03 GMT
price:
FREE!
homepage:
www.vim.org
license type:
GPL (GNU General Public License) 
developed by:
Michael Brown
category:
ROOT \ Text Editing&Processing \ Vim Plugins
SwapIt
Download Button

In a hurry? Add it to your Download Basket!

user rating 11

2.8/5
 

0/5

Rate it!

Add your review!

SUBMIT