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

Swap columns and transform to CSV format - 114 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #16 / 46
  • Number of attempts: 4
extract struct tag in go - 44 entries

Can you extract all struct tags in the fewest keystrokes possible?

  • Best score: 29
  • Best player score: 47
  • Position: #14 / 18
  • Number of attempts: 2
Find fix point of cos - 1403 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: #258 / 416
  • Number of attempts: 2
delete swap - 1786 entries

delete all swap

  • Best score: 5
  • Best player score: 15
  • Position: #515 / 555
  • Number of attempts: 3
Java to JavaScript - 269 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 140
  • Position: #68 / 74
  • Number of attempts: 1
Migrated to Postgres! - 331 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 47
  • Position: #125 / 131
  • Number of attempts: 1
ssh config skills - 258 entries

Parse output from `kuebctl get no -o wide` into an .ssh/config file!

  • Best score: 41
  • Best player score: 91
  • Position: #56 / 66
  • Number of attempts: 2
One number per line - 18749 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 25
  • Position: #3380 / 3867
  • Number of attempts: 1
Line under headers - 2045 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 41
  • Position: #451 / 504
  • Number of attempts: 4
attr_aligner - 3520 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 26
  • Position: #281 / 702
  • Number of attempts: 4
Prefixes and suffixes - 635 entries

Generate all prefixes of "vimchallenge", then all suffixes.

  • Best score: 17
  • Best player score: 187
  • Position: #199 / 201
  • Number of attempts: 1
Haruaki Tomida
Github:

entered into 11 challenges

contributed 0 challenges