5

How I can selected the lines with the same indent?

For example:

if true: 
    line 1
    line 2
    ...
    line n

If the cursor is over line 2, how I can selected from line 1 to line n?

1 Answer 1

4

Take a look at vim-indent-object.

1
  • amazing! with this I can sort attributes in CSS, in normal mode vii:!sort :)
    – juanpablo
    Jan 29, 2012 at 20:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .