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

516 active golfers, 2001 entries

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

09/17/2020 at 04:06PM

19
#>201 - dezhonger / @dezhonger

09/17/2020 at 04:05PM

20
#>268 - dezhonger / @dezhonger

09/17/2020 at 04:01PM

21
#>297 - dezhonger / @dezhonger

09/17/2020 at 04:00PM

22
#>327 - dezhonger / @dezhonger

09/17/2020 at 04:00PM

23
#>351 - dezhonger / @dezhonger

09/17/2020 at 03:57PM

26
#>387 - dezhonger / @dezhonger

09/17/2020 at 03:54PM

27
#>402 - dezhonger / @dezhonger

09/17/2020 at 03:53PM

29
#>419 - dezhonger / @dezhonger

09/17/2020 at 03:48PM

31
#>434 - dezhonger / @dezhonger

09/17/2020 at 03:39PM

32
#>445 - dezhonger / @dezhonger

09/17/2020 at 03:37PM

34
#>462 - dezhonger / @dezhonger

09/17/2020 at 03:29PM

36
#>471 - dezhonger / @dezhonger

09/17/2020 at 03:24PM

38
#>475 - dezhonger / @dezhonger

09/17/2020 at 03:15PM

39
#>480 - dezhonger / @dezhonger

09/17/2020 at 03:09PM

42
#>489 - dezhonger / @dezhonger

09/17/2020 at 03:07PM