Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 5d3122ace2e18c0006b8bc4d

Bad Copy Syntax

Copy should be from right to left, but sometimes you type it wrong.

Start file
   copyRtL(source, destination);
   copyRtL
("John Q. Public", nameVariable);
End file
   copyRtL(destination, source);
   copyRtL
(nameVariable, "John Q. Public");

View Diff

1,2c1,2
<    copyRtL(source, destination);
<    copyRtL("John Q. Public", nameVariable);
---
>    copyRtL(destination, source);
>    copyRtL(nameVariable, "John Q. Public");

Solutions by @itodais:

Unlock 17 remaining solutions by signing in and submitting your own entry
Created by: @BradleySmall

533 active golfers, 2050 entries

Solutions by @itodais:
19
#93 - Daisuke Ito / @itodais

08/21/2019 at 02:41PM

19
#>93 - Daisuke Ito / @itodais

08/21/2019 at 02:47PM

21
#>282 - Daisuke Ito / @itodais

08/21/2019 at 02:39PM

22
#>314 - Daisuke Ito / @itodais

08/21/2019 at 02:35PM

24
#>363 - Daisuke Ito / @itodais

08/21/2019 at 02:25PM

25
#>378 - Daisuke Ito / @itodais

08/21/2019 at 12:48PM

25
#>378 - Daisuke Ito / @itodais

08/21/2019 at 02:32PM

26
#>389 - Daisuke Ito / @itodais

08/21/2019 at 12:52PM

27
#>404 - Daisuke Ito / @itodais

08/21/2019 at 12:49PM

28
#>416 - Daisuke Ito / @itodais

08/21/2019 at 12:44PM

30
#>434 - Daisuke Ito / @itodais

08/21/2019 at 12:43PM

31
#>440 - Daisuke Ito / @itodais

08/21/2019 at 12:19PM

32
#>451 - Daisuke Ito / @itodais

08/21/2019 at 12:16PM

37
#>485 - Daisuke Ito / @itodais

08/21/2019 at 12:11PM

37
#>485 - Daisuke Ito / @itodais

08/21/2019 at 12:40PM

42
#>504 - Daisuke Ito / @itodais

08/21/2019 at 12:06PM

178
#>532 - Daisuke Ito / @itodais

08/21/2019 at 12:18PM