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

Quicksort - 1676 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: #55 / 369
  • Number of attempts: 13
EDN reformat - 1085 entries

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

  • Best score: 17
  • Best player score: 18
  • Position: #47 / 151
  • Number of attempts: 19
Put a newline after every 10 lines in vim - 1628 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #191 / 542
  • Number of attempts: 4
Happy New Year! - 143 entries

This is a simple new year's challenge.

  • Best score: 22
  • Best player score: 91
  • Position: #55 / 57
  • Number of attempts: 3
Reconstruct the Sentence - 1402 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 20
  • Best player score: 20
  • Position: #132 / 390
  • Number of attempts: 14
Whitespace, empty lines and tabs - 3413 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 17
  • Position: #155 / 745
  • Number of attempts: 16
Simple text editing with Vim - 12395 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 13
  • Position: #697 / 3605
  • Number of attempts: 6
weixiaobaoL
Github:

entered into 7 challenges

contributed 0 challenges