jeetsukumaran / vim-indentwise

A Vim plugin for indent-level based motion.
220 stars 17 forks source link

about (IndentWiseBlockScopeBoundaryEnd) bypassing empty line check #14

Open CHLOVEN opened 4 years ago

CHLOVEN commented 4 years ago

I'm always using FixWhitespace plugin while coding, so (IndentWiseBlockScopeBoundaryBegin) , (IndentWiseBlockScopeBoundaryEnd) would not work properly

e.g.

foo
    bar
        baz_1
        baz
        baz
        baz
        baz
        baz
        baz_1end
[emptyline]
        baz_2
        baz
        baz
        baz_2end

I'll always want to select from "baz_1" to "baz_1end" but "baz_2end", and after I remove the space at the "emptyline" then the plugin bypass the line and threat the "baz_1" to "baz_2end" as whole paragraph(same level indentatoin).

Please help me :(