Line 1 has one too many closing parens. Jump to the end of the line with $ and delete the extra “)” with x.
print("shipped"))
print("ok")
Canonical solution: $ x · par: 2 keystrokes (vimgolf rules — every keypress counts).
$ jumps to the end of the line, 0 to the very start, ^ to the first non-blank character. Pairing a jump with an edit is how you stop tapping l one column at a time.
Reading about keystrokes doesn't build keystrokes. Try this in a real vim buffer right now — the “End of the line” mission takes about a minute.
Sign in free to practice →