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 [challenge ID]

Played Challenges

Create json from a .env file - 1585 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 53
  • Position: #130 / 376
  • Number of attempts: 6
Swap columns and transform to CSV format - 447 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 17
  • Position: #46 / 162
  • Number of attempts: 2
Copy punctuation - 715 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 42
  • Position: #103 / 173
  • Number of attempts: 4
months to html list items - 1135 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #100 / 307
  • Number of attempts: 5
Populate 3D bone names list - 652 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 21
  • Position: #37 / 168
  • Number of attempts: 2
Find fix point of cos - 1480 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 15
  • Position: #240 / 432
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 577 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #217 / 325
  • Number of attempts: 5
delete swap - 1843 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #372 / 573
  • Number of attempts: 2
Wrap the text of an email message to 79 characters - 855 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #310 / 442
  • Number of attempts: 1
Python Hello World! Reformatting - 1015 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 52
  • Position: #367 / 390
  • Number of attempts: 1
camel riding - 796 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 18
  • Position: #243 / 282
  • Number of attempts: 1
vim1001 - 315 entries

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

  • Best score: 17
  • Best player score: 24
  • Position: #78 / 111
  • Number of attempts: 1
-a-b-c- - 3229 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #1045 / 1142
  • Number of attempts: 1
Knaughty
Github:

entered into 13 challenges

contributed 0 challenges