Jumping/deleting by matching tags

Let’s say you have the following:

def a_method
  "a return value"
end

If you put your cursor on def and type %, it goes to end.

If you put your cursor on def and type d%, it deletes the entire method!

Written on March 9, 2016 by clemenspark