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 @finnmer22139082:

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

533 active golfers, 2050 entries

Solutions by @finnmer22139082:
19
#177 - finn.mertens / @finnmer22139082

03/13/2020 at 12:36AM

20
#>253 - finn.mertens / @finnmer22139082

03/13/2020 at 12:32AM

22
#>330 - finn.mertens / @finnmer22139082

03/13/2020 at 12:30AM

24
#>371 - finn.mertens / @finnmer22139082

03/13/2020 at 12:26AM

26
#>395 - finn.mertens / @finnmer22139082

03/13/2020 at 12:23AM

27
#>410 - finn.mertens / @finnmer22139082

03/13/2020 at 12:20AM

28
#>417 - finn.mertens / @finnmer22139082

03/13/2020 at 12:17AM

33
#>465 - finn.mertens / @finnmer22139082

03/13/2020 at 12:15AM

36
#>484 - finn.mertens / @finnmer22139082

03/13/2020 at 12:06AM

48
#>511 - finn.mertens / @finnmer22139082

03/13/2020 at 12:08AM

68
#>524 - finn.mertens / @finnmer22139082

03/12/2020 at 11:57PM