hello,

> I didn't know [how] ! took movement commands. Thanks. I'll have a play
> with that one.

almost related: in addition to the motions, vim has a notion of objects

    :h objects

so you can easily filter a complete paragraph with

    !ap<cr>
    fmt -w72<cr>

in visual mode, you can select nested objects by adding a selection

    { // the whole code
        { // the object i want to select
            {
            you are here
            }
        }
    }

you can select the expected object using va{a{

HTH
marc

Reply via email to