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

Put a newline after every 10 lines in vim - 1421 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #431 / 479
  • Number of attempts: 2
hello-world-vimgolf - 2116 entries

Simple number generation

  • Best score: 10
  • Best player score: 26
  • Position: #545 / 598
  • Number of attempts: 1
Plotting some variables in python - 1431 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 50
  • Position: #180 / 305
  • Number of attempts: 3
Search and Replace 0 - 4766 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 16
  • Position: #1205 / 1578
  • Number of attempts: 1
switch variable - 5012 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 15
  • Position: #1529 / 1728
  • Number of attempts: 4
Increment, increment, increment.... - 626 entries

Vim likes macros

  • Best score: 10
  • Best player score: 24
  • Position: #384 / 393
  • Number of attempts: 1
Simple text editing with Vim - 11962 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2412 / 3502
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 6332 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 49
  • Position: #1277 / 1560
  • Number of attempts: 3
Bas
Twitter:

entered into 8 challenges

contributed 0 challenges