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

Find fix point of cos - 1303 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 73
  • Position: #363 / 381
  • Number of attempts: 4
Paste a column after a column - 2477 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 54
  • Position: #480 / 535
  • Number of attempts: 7
Poorly indented Python comments - 1300 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 58
  • Position: #178 / 218
  • Number of attempts: 4
simple replacements - 1749 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 27
  • Position: #309 / 379
  • Number of attempts: 10
Inverting Lines - 1879 entries

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

  • Best score: 10
  • Best player score: 21
  • Position: #475 / 507
  • Number of attempts: 1
Box it - 7897 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 84
  • Position: #1843 / 1872
  • Number of attempts: 1
Jake Shomer
Twitter2:

entered into 6 challenges

contributed 0 challenges