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

539 active golfers, 2072 entries

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

08/21/2019 at 02:41PM

19
#>95 - Daisuke Ito / @itodais

08/21/2019 at 02:47PM

21
#>284 - Daisuke Ito / @itodais

08/21/2019 at 02:39PM

22
#>317 - Daisuke Ito / @itodais

08/21/2019 at 02:35PM

24
#>367 - Daisuke Ito / @itodais

08/21/2019 at 02:25PM

25
#>382 - Daisuke Ito / @itodais

08/21/2019 at 12:48PM

25
#>382 - Daisuke Ito / @itodais

08/21/2019 at 02:32PM

26
#>394 - Daisuke Ito / @itodais

08/21/2019 at 12:52PM

27
#>409 - Daisuke Ito / @itodais

08/21/2019 at 12:49PM

28
#>421 - Daisuke Ito / @itodais

08/21/2019 at 12:44PM

30
#>439 - Daisuke Ito / @itodais

08/21/2019 at 12:43PM

31
#>445 - Daisuke Ito / @itodais

08/21/2019 at 12:19PM

32
#>456 - Daisuke Ito / @itodais

08/21/2019 at 12:16PM

37
#>490 - Daisuke Ito / @itodais

08/21/2019 at 12:11PM

37
#>490 - Daisuke Ito / @itodais

08/21/2019 at 12:40PM

42
#>509 - Daisuke Ito / @itodais

08/21/2019 at 12:06PM

178
#>538 - Daisuke Ito / @itodais

08/21/2019 at 12:18PM