Operate on an Indented Block of Lines with vim-indent-object

vim-indent-object is a great Vim plugin that adds an i text object for an indented block of text, very useful in Python!

You can combine the ai, ii and aI text objects with other operators besides v for visual mode, e.g. cii, dii, yii etc. For example >ii or <ii will indent or dedent an indented block. If you have vim-commentary installed then gcii will comment out an indented block.