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

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

516 active golfers, 2001 entries

Solutions by @greengr09073862:
19
#97 - greengreen / @greengr09073862

08/30/2019 at 04:33PM

20
#>233 - greengreen / @greengr09073862

08/30/2019 at 04:31PM

22
#>309 - greengreen / @greengr09073862

08/30/2019 at 04:29PM

23
#>338 - greengreen / @greengr09073862

08/30/2019 at 04:25PM

26
#>381 - greengreen / @greengr09073862

08/30/2019 at 04:23PM

28
#>406 - greengreen / @greengr09073862

08/27/2019 at 03:20PM

29
#>414 - greengreen / @greengr09073862

08/27/2019 at 03:14PM

36
#>468 - greengreen / @greengr09073862

08/27/2019 at 03:13PM

48
#>496 - greengreen / @greengr09073862

08/27/2019 at 03:12PM