Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 376 Bytes

03_one_step_back_two_forward.md

File metadata and controls

22 lines (16 loc) · 376 Bytes

One step back, two forward

Change this text:

var foo = "method("+argument1+","+argument2+")";

to this:

var foo = "method(" + argument1 + "," + argument2 + ")";

Steps:

  1. find "+" with f+
  2. delete and switch to insert mode with s
  3. Type +
  4. Leave insert mode
  5. find the next "+" with ;
  6. Repeat with .