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

Sort and Tag - 707 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 36
  • Best player score: 37
  • Position: #22 / 152
  • Number of attempts: 13
Changing date formats - 735 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 39
  • Position: #14 / 208
  • Number of attempts: 6
YAML to dotenv - 1600 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 17
  • Position: #89 / 335
  • Number of attempts: 10
Change to ascending order - 541 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 18
  • Position: #23 / 132
  • Number of attempts: 16
Swap columns and transform to CSV format - 474 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #68 / 171
  • Number of attempts: 3
Generate an entry for each month - 387 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 39
  • Position: #37 / 97
  • Number of attempts: 4
Fix the Scala Method - 368 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 2
  • Best player score: 29
  • Position: #90 / 121
  • Number of attempts: 1
hello-world-vimgolf - 2533 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #347 / 726
  • Number of attempts: 2
Simple, Practical, and Common - 33990 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #2425 / 7510
  • Number of attempts: 6
ヨーマンウォーダ
Twitter2:

ウマ娘が面白いので専用アカウントを作りました。

entered into 9 challenges

contributed 0 challenges