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

Rearrange array to one line - 521 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 13
  • Position: #4 / 129
  • Number of attempts: 7
Column wise pasting - 133 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 27
  • Position: #19 / 32
  • Number of attempts: 3
Format a long line - 71 entries

Reformat long lines (gq), textwidth=78, no trailing spaces.

  • Best score: 17
  • Best player score: 67
  • Position: #20 / 25
  • Number of attempts: 2
New teacher - 836 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #84 / 174
  • Number of attempts: 3
Quicksort - 1875 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: #120 / 411
  • Number of attempts: 9
Fizzbuzz - 557 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 45
  • Best player score: 69
  • Position: #58 / 166
  • Number of attempts: 3
Put a newline after every 10 lines in vim - 1656 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #411 / 555
  • Number of attempts: 1
Vic Segers
Github:

entered into 7 challenges

contributed 0 challenges