sponsor Vim development Vim logo Vim Book Ad

spacebox.vim : Select a Visual block of indentation whitespace (deprecated)

 script karma  Rating 1/1, Downloaded by 524    Comments, bugs, improvements  Vim wiki

created by
script type
DEPRECATED Use vimscript #4348 instead.

Spacebox is a simple Vim plugin which allows you to select a Visual block of indentation whitespace based on the indentation of the current line.

The plugin provides the single command ":SpaceBox" for that matter.

See the included documentation for an illustration and more details.
install details
Unzip the archive into your ~/.vim directory.  (On Windows, replace "~/.vim" with "~\vimfiles" everywhere.)

Or do it manually: Move spacebox.vim into the ~/.vim/plugin directory and spacebox.txt into the ~/.vim/doc directory.

The source is also hosted on github at https://github.com/glts/vim-spacebox
With a plugin manager such as pathogen the installation is as simple as:

cd ~/.vim/bundle
git clone git://github.com/glts/vim-spacebox.git spacebox

Finally, don't forget to run ":helptags" on your doc directory to register the spacebox help file.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
spacebox.zip 1.3.0 2012-10-25 7.0 glts Added blank line behaviour (select adjacent blank lines instead of doing nothing)
spacebox.zip 1.2.1 2012-06-09 7.0 glts Fixed a bug on unindented lines, set "`" mark before doing the selection
spacebox.zip 1.2.0 2012-05-24 7.0 glts Fixed bug, rewrote plugin logic, added two global config variables, and updated the documentation
spacebox.zip 1.1.1 2012-05-13 7.0 glts Fixed two minor errors
spacebox.zip 1.1 2012-05-12 7.0 glts Changed plugin behaviour for unindented lines, rearranged a few other things
spacebox.zip 1.0 2012-04-01 7.0 glts Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo