Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@runiq

Description

@runiq
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.