Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "inner line selection" #47

Open
vhda opened this issue Oct 8, 2015 · 0 comments
Open

Support "inner line selection" #47

vhda opened this issue Oct 8, 2015 · 0 comments

Comments

@vhda
Copy link

vhda commented Oct 8, 2015

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant