Skip to content

[Suggestion] for the "inner vs outer" issue #2

Open
@runiq

Description

@runiq

Hey,

I hope I'm not posting this in the wrong place, but the issue tracker seemed to be preferable to using email.

Would it be a good idea to have the "inner" motions leave out the function/class definition line(s) instead of the trailing whitespace? I'm thinking of something like this:

def f(a, b):
    print "I am an example function!"
    return a + b

Now, when issuing, say, vif to vim, only the marked lines would be selected:

  def f(a, b):
*     print "I am an example function!"
*     return a + b

While the behavior of "outer" would select all lines corresponding to the function, including the def f(a, b) part.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions