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

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

478 active golfers, 1882 entries

Solutions by @dezhonger:
18
#3 - dezhonger / @dezhonger

09/17/2020 at 04:06PM

19
#>194 - dezhonger / @dezhonger

09/17/2020 at 04:05PM

20
#>246 - dezhonger / @dezhonger

09/17/2020 at 04:01PM

21
#>273 - dezhonger / @dezhonger

09/17/2020 at 04:00PM

22
#>301 - dezhonger / @dezhonger

09/17/2020 at 04:00PM

23
#>323 - dezhonger / @dezhonger

09/17/2020 at 03:57PM

26
#>357 - dezhonger / @dezhonger

09/17/2020 at 03:54PM

27
#>371 - dezhonger / @dezhonger

09/17/2020 at 03:53PM

29
#>388 - dezhonger / @dezhonger

09/17/2020 at 03:48PM

31
#>401 - dezhonger / @dezhonger

09/17/2020 at 03:39PM

32
#>411 - dezhonger / @dezhonger

09/17/2020 at 03:37PM

34
#>428 - dezhonger / @dezhonger

09/17/2020 at 03:29PM

36
#>437 - dezhonger / @dezhonger

09/17/2020 at 03:24PM

38
#>440 - dezhonger / @dezhonger

09/17/2020 at 03:15PM

39
#>444 - dezhonger / @dezhonger

09/17/2020 at 03:09PM

42
#>453 - dezhonger / @dezhonger

09/17/2020 at 03:07PM