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

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

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

Make a table from 3 columns

  • Best score: 17
  • Best player score: 27
  • Position: #22 / 39
  • Number of attempts: 3
Format a long line - 88 entries

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

  • Best score: 17
  • Best player score: 67
  • Position: #23 / 27
  • Number of attempts: 2
New teacher - 1101 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #107 / 236
  • Number of attempts: 3
Quicksort - 2002 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 / 440
  • Number of attempts: 9
Fizzbuzz - 575 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 44
  • Best player score: 69
  • Position: #59 / 168
  • Number of attempts: 3
Put a newline after every 10 lines in vim - 1660 entries

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

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

entered into 7 challenges

contributed 0 challenges