sponsor Vim development Vim logo Vim Book Ad

textobj-indblock : Text objects for blocks of indentation whitespace

 script karma  Rating 0/0, Downloaded by 238    Comments, bugs, improvements  Vim wiki

created by
glts
 
script type
utility
 
description
The textobj-indblock plugin provides text objects to select a block of indentation whitespace based on the indentation of the current line.

This plugin supplements, and in this respect closely follows the example of the textobj-indent plugin (vimscript #2484).

See the documentation there to learn more.

This plugin depends on the framework provided by the textobj-user plugin, version 0.4.0 (vimscript #2100).
 
install details
Unzip the archive in your ~/.vim directory.  (On Windows, replace "~/.vim" with "~\vimfiles" everywhere.)

The source is also hosted on github at https://github.com/glts/vim-textobj-indblock
With the Pathogen plugin manager the installation is as simple as:

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

But this plugin also plays well with the built-in Getscript and other plugin managers such as Vundle, vim-addon-manager, and vim-flavor.

Finally, don't forget to run ":helptags" on your doc directory to register the 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
textobj-indblock.zip 1.1.0 2013-04-08 7.0 glts Updated to textobj-user version 0.4.0.
Minor doc fixes.
Better Getscript support.
textobj-indblock.zip 1.0.1 2013-02-02 7.0 glts Corrected "GetLatestVimScripts" script name
textobj-indblock.zip 1.0.0 2012-12-08 7.0 glts Initial upload
ip used for rating: 54.242.85.89

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