Smartput 0.6

Smartput is a Vim plugin that adjusts spaces and commas when putting text.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
GPL (GNU General Public License) 
2.9/5 9
Andy Wokula
ROOT \ Text Editing&Processing \ Vim Plugins
Smartput is a Vim plugin that adjusts spaces and commas when putting text.

Smartput tries to reduce the need of fine-tuning spaces after a put. Under certain conditions, it also moves a comma to the other side of the register before putting.

The following keys are remapped: p, P, gp and gP.

Press < Leader >st to toggle Smartput on and off.

See also:
:help todo| /Smart cut.paste

There is a wealth of customization options -- the help file has the details.

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.




Extract the archive to a folder of your runtimepath.


Install the help file:
:h helptags

What's New in This Release:

Added: now supposed to work with UTF-8
Changed: g:smartput_comma string of CharTypes (not a pattern)
Fixed: hasmapto() bug, user mapping didn't disable < Leader >st

Last updated on June 22nd, 2008

#Vim plugin #space adjuster #customization plugin #Vim #space #comma #adjuster

Add your review!