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

516 active golfers, 2001 entries

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

08/21/2019 at 02:41PM

19
#>90 - Daisuke Ito / @itodais

08/21/2019 at 02:47PM

21
#>278 - Daisuke Ito / @itodais

08/21/2019 at 02:39PM

22
#>308 - Daisuke Ito / @itodais

08/21/2019 at 02:35PM

24
#>355 - Daisuke Ito / @itodais

08/21/2019 at 02:25PM

25
#>370 - Daisuke Ito / @itodais

08/21/2019 at 12:48PM

25
#>370 - Daisuke Ito / @itodais

08/21/2019 at 02:32PM

26
#>380 - Daisuke Ito / @itodais

08/21/2019 at 12:52PM

27
#>394 - Daisuke Ito / @itodais

08/21/2019 at 12:49PM

28
#>406 - Daisuke Ito / @itodais

08/21/2019 at 12:44PM

30
#>423 - Daisuke Ito / @itodais

08/21/2019 at 12:43PM

31
#>428 - Daisuke Ito / @itodais

08/21/2019 at 12:19PM

32
#>439 - Daisuke Ito / @itodais

08/21/2019 at 12:16PM

37
#>472 - Daisuke Ito / @itodais

08/21/2019 at 12:11PM

37
#>472 - Daisuke Ito / @itodais

08/21/2019 at 12:40PM

42
#>489 - Daisuke Ito / @itodais

08/21/2019 at 12:06PM

178
#>515 - Daisuke Ito / @itodais

08/21/2019 at 12:18PM