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 - 1773 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 53
  • Position: #147 / 431
  • Number of attempts: 6
Swap columns and transform to CSV format - 516 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #47 / 184
  • Number of attempts: 2
Copy punctuation - 760 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: #115 / 188
  • Number of attempts: 4
months to html list items - 1161 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 24
  • Position: #103 / 314
  • Number of attempts: 5
Populate 3D bone names list - 661 entries

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

  • Best score: 21
  • Best player score: 21
  • Position: #37 / 172
  • Number of attempts: 2
Find fix point of cos - 1486 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 / 435
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 584 entries

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

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

delete all swap

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

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

  • Best score: 5
  • Best player score: 5
  • Position: #310 / 458
  • Number of attempts: 1
Python Hello World! Reformatting - 1057 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: #379 / 402
  • Number of attempts: 1
camel riding - 817 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 18
  • Position: #246 / 285
  • Number of attempts: 1
vim1001 - 331 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: #79 / 113
  • Number of attempts: 1
-a-b-c- - 3243 entries

Put hyphens everywhere.

  • Best score: 6
  • Best player score: 17
  • Position: #1051 / 1148
  • Number of attempts: 1
Knaughty
Github:

entered into 13 challenges

contributed 0 challenges