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

simple replacements - 1833 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 32
  • Position: #361 / 396
  • Number of attempts: 1
Modernise code - 1420 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 51
  • Position: #237 / 328
  • Number of attempts: 1
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3240 / 3889
  • Number of attempts: 1
remove lines containing the word "reader" - 3622 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #127 / 1177
  • Number of attempts: 2
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 28
  • Position: #1211 / 1891
  • Number of attempts: 1
One to Ten - 2241 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 14
  • Position: #449 / 682
  • Number of attempts: 1
Increment each number - 1043 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 46
  • Position: #246 / 255
  • Number of attempts: 1
Sébastien Lavoie
Twitter:

entered into 7 challenges

contributed 0 challenges