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

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

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

Turn the months into list items.

  • Best score: 22
  • Best player score: 25
  • Position: #109 / 295
  • Number of attempts: 6
Quicksort - 2035 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 / 450
  • Number of attempts: 10
EDN reformat - 1175 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 / 167
  • Number of attempts: 12
Pick and sort servers from mirror list - 441 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 / 88
  • Number of attempts: 7
Remove line numbers - 745 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 / 199
  • Number of attempts: 11
Surround the 'z' character with brackets, quotes, and print as formatted string. - 567 entries

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

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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 69
  • Position: #197 / 418
  • Number of attempts: 2
Contribute to keyboard mashing - 898 entries

Speak in tongues

  • Best score: 17
  • Best player score: 18
  • Position: #112 / 272
  • Number of attempts: 3
simple replacements - 1814 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 22
  • Position: #181 / 392
  • Number of attempts: 4
Inverting Lines - 1923 entries

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

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

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1558 / 3877
  • Number of attempts: 2
Com(m)a Trouble - 3890 entries

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

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

Enumerate the unique words in order.

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

entered into 14 challenges

contributed 0 challenges