3

Is there any easy way to select/change/delete an argument in kakoune?

For example, if I have

int foo(int arg1, int arg2)

and I would like to select int arg1. In spacemacs I can do this with via. How do I do this in kakoune?

Blubber
  • 1,375
  • 1
  • 15
  • 32

1 Answers1

4

You can use the u text-object. So, while inside the parens type <a-i>u.

If you do <a-a>u instead, it will also select the following comma and space.

Delapouite
  • 9,469
  • 5
  • 36
  • 41