8000 Support "inner line selection" · Issue #47 · kana/vim-textobj-user · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Support "inner line selection" #47
Open
@vhda

Description

@vhda

Suppose the following:

  if (a==b) begin : alabel
    func1();
    func2();
  end
  else begin
    func3();
    func4();
  end

It would be interesting if textobj could line-select (region-type=V) the lines between begin .. end with "vi". With "va" all lines would be selected.
So what I am asking for is a plugin property that enables such selection automatically.

In fact, I don't know if it wouldn't make sense to have the behavior by default when using "V" region type, because otherwise "va" selects the same lines as "vb".

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

      0