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

525 active golfers, 2037 entries

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

09/17/2020 at 04:06PM

19
#>204 - dezhonger / @dezhonger

09/17/2020 at 04:05PM

20
#>271 - dezhonger / @dezhonger

09/17/2020 at 04:01PM

21
#>301 - dezhonger / @dezhonger

09/17/2020 at 04:00PM

22
#>333 - dezhonger / @dezhonger

09/17/2020 at 04:00PM

23
#>357 - dezhonger / @dezhonger

09/17/2020 at 03:57PM

26
#>394 - dezhonger / @dezhonger

09/17/2020 at 03:54PM

27
#>409 - dezhonger / @dezhonger

09/17/2020 at 03:53PM

29
#>426 - dezhonger / @dezhonger

09/17/2020 at 03:48PM

31
#>441 - dezhonger / @dezhonger

09/17/2020 at 03:39PM

32
#>452 - dezhonger / @dezhonger

09/17/2020 at 03:37PM

34
#>469 - dezhonger / @dezhonger

09/17/2020 at 03:29PM

36
#>478 - dezhonger / @dezhonger

09/17/2020 at 03:24PM

38
#>483 - dezhonger / @dezhonger

09/17/2020 at 03:15PM

39
#>488 - dezhonger / @dezhonger

09/17/2020 at 03:09PM

42
#>497 - dezhonger / @dezhonger

09/17/2020 at 03:07PM