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

Replace word while reserving first letter case - 604 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 24
  • Position: #6 / 118
  • Number of attempts: 6
months to html list items - 1010 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 25
  • Position: #104 / 274
  • Number of attempts: 6
Quicksort - 1962 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 6
  • Position: #93 / 431
  • Number of attempts: 10
EDN reformat - 1158 entries

The goal is to make the code more readable and concise while maintaining its functionality.

  • Best score: 17
  • Best player score: 18
  • Position: #63 / 164
  • Number of attempts: 12
Pick and sort servers from mirror list - 431 entries

Retrieve the primary server for each country from a mirror list file and organize them alphabetically by country name. Given a mirror list file containing server information for various countries, the objective is to extract the primary server from each country and then arrange these servers in alphabetical order based on the respective country names.

  • Best score: 28
  • Best player score: 29
  • Position: #20 / 87
  • Number of attempts: 7
Remove line numbers - 736 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 9
  • Best player score: 12
  • Position: #51 / 198
  • Number of attempts: 11
Surround the 'z' character with brackets, quotes, and print as formatted string. - 554 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #189 / 309
  • Number of attempts: 1
HS exam question - 1589 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 69
  • Position: #196 / 417
  • Number of attempts: 2
Contribute to keyboard mashing - 890 entries

Speak in tongues

  • Best score: 17
  • Best player score: 18
  • Position: #110 / 270
  • Number of attempts: 3
simple replacements - 1753 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 22
  • Position: #177 / 380
  • Number of attempts: 4
Inverting Lines - 1900 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #222 / 511
  • Number of attempts: 4
One number per line - 18727 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1556 / 3864
  • Number of attempts: 2
Com(m)a Trouble - 3823 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 12
  • Position: #172 / 865
  • Number of attempts: 7
Enumerate words - 254 entries

Enumerate the unique words in order.

  • Best score: 23
  • Best player score: 25
  • Position: #36 / 91
  • Number of attempts: 6
Jinli Xiao
Github:

entered into 14 challenges

contributed 0 challenges