mlsamuelson.com

Clear contents within (parentheses ) [braces ] and {curly braces}

In Vim, given code such as

if ($check) {
  echo $array['true'];
}

If you're on or within the parentheses and enter

ci(

you'll clear the $check out of there.

Same goes for

ci[

which would clear the 'true' out of the $array brackets.

And

ci{

would wipe away all the contents of the curly braces.

Find Me Around

User login